r4118 process.php: roll "array" check back as well
authorDenis Ovsienko <infrastation@yandex.ru>
Thu, 13 Jan 2011 10:07:20 +0000 (10:07 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 13 Jan 2011 10:07:20 +0000 (10:07 +0000)
process.php

index c567913c044e899785ba86aa1313da5c93e18f04..855f5b1ce076ef4d1cff573eef6db7cf2267d79b 100644 (file)
@@ -20,7 +20,7 @@ fixContext();
 if
 (
        !isset ($ophandler[$pageno][$tabno][$op]) or
-       (!is_array ($ophandler[$pageno][$tabno][$op]) and !function_exists ($ophandler[$pageno][$tabno][$op]))
+       !function_exists ($ophandler[$pageno][$tabno][$op])
 )
        throw new RackTablesError ("Invalid navigation data for '${pageno}-${tabno}-${op}'", RackTablesError::INTERNAL);