category: Move code from appbrowse.php to the category class
This commit is contained in:
committed by
Alexander Nicolaysen Sørnes
parent
db87518ddc
commit
3f17cf52d3
@@ -116,7 +116,7 @@ if(!$sAction)
|
||||
apidb_header($oObject->get_title($sAction));
|
||||
|
||||
/* display a particular element */
|
||||
if($oObject->getId() && $sAction != "add")
|
||||
if(($oObject->getId() || $oObject->IsNullIdAllowed($sAction)) && $sAction != "add")
|
||||
{
|
||||
switch($sAction)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user