Oops forgot to remove some debug

This commit is contained in:
james 2010-07-21 20:16:25 +00:00
parent 71074eaf24
commit 589b3aa173

View File

@ -340,7 +340,6 @@ if(array_key_exists('users_id', $_SESSION)) {
//take SFIABDIRECTORY off of the current URL //take SFIABDIRECTORY off of the current URL
$pageurl=substr($_SERVER['PHP_SELF'],strlen($config['SFIABDIRECTORY'])); $pageurl=substr($_SERVER['PHP_SELF'],strlen($config['SFIABDIRECTORY']));
echo "looking up [$pageurl] <br />";
$q=mysql_query("SELECT * FROM rolestasks WHERE link='".mysql_real_escape_string($pageurl)."'"); $q=mysql_query("SELECT * FROM rolestasks WHERE link='".mysql_real_escape_string($pageurl)."'");
if($r=mysql_fetch_object($q)) { if($r=mysql_fetch_object($q)) {
//okay we found it, now get its full tree above it //okay we found it, now get its full tree above it