Commit 5ca87a8d authored by jonnybradley's avatar jonnybradley

[FIX] Set $cat_object_exists if $cat_objid is set (needed for filegal edit to...

[FIX] Set $cat_object_exists if $cat_objid is set (needed for filegal edit to show current cats, but possibly others?)
parent aebbbf16
......@@ -26,7 +26,7 @@ if ($prefs['feature_categories'] == 'y' && isset($cat_type) && isset($cat_objid)
}
if( ! isset( $cat_object_exists ) ) {
$cat_object_exists = false;
$cat_object_exists = (bool) $cat_objid;
}
if( $cat_object_exists ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment