forked from science-ation/science-ation
Oops forgot to remove some debug
This commit is contained in:
parent
71074eaf24
commit
589b3aa173
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user