r4287 tableHandler(): access opspec structure in a way without PHP warning
authorDenis Ovsienko <infrastation@yandex.ru>
Fri, 4 Mar 2011 12:08:02 +0000 (12:08 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Fri, 4 Mar 2011 12:08:02 +0000 (12:08 +0000)
wwwroot/inc/ophandlers.php

index 4b0157985652e57dd75a0bb680afd673be970634..26b1a88a827d70f2acde1a172c231fea13cdbd81 100644 (file)
@@ -2781,7 +2781,7 @@ function tableHandler()
        $columns = array();
        foreach (array ('arglist', 'set_arglist', 'where_arglist') as $listname)
        {
-               if (! is_array ($opspec[$listname]))
+               if (! array_key_exists ($listname, $opspec))
                        continue;
                foreach ($opspec[$listname] as $argspec)
                {