mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-28 10:30:42 +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();
|
$owner = $category->getOwner();
|
||||||
if ($owner->getID() != $user->getID()) continue;
|
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();
|
print "<option value=\"".$category->getID()."\">" . $category->getName();
|
||||||
$count++;
|
$count++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user