mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-10-04 23:22:24 +00:00
- check if $_GET["categoryid"] is set before using it
This commit is contained in:
parent
e4b475371b
commit
aff1c950d9
|
@ -67,7 +67,7 @@ UI::contentContainerStart();
|
|||
$owner = $category->getOwner();
|
||||
if ($owner->getID() != $user->getID()) continue;
|
||||
|
||||
if ($category->getID()==$_GET["categoryid"]) $selected=$count;
|
||||
if (isset($_GET["categoryid"]) && $category->getID()==$_GET["categoryid"]) $selected=$count;
|
||||
print "<option value=\"".$category->getID()."\">" . $category->getName();
|
||||
$count++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user