]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/register_functions.php
(Possible) fixes for illegal array indexes
[mailer.git] / inc / libs / register_functions.php
index b0230f73da0c61642dfb015e50fa3cc78599c8ab..19f26b4ef17294d8acd4f2ece9a91e6326c2a5a5 100644 (file)
@@ -133,7 +133,7 @@ function registerGenerateCategoryTable ($mode, $return=false) {
                        // Is the array element not set?
                        if (!REQUEST_ISSET_POST('cat', $content['id'])) {
                                // Then set it
-                               REQUEST_SET_POST(array('cat', $content['id']), '');
+                               REQUEST_SET_POST('cat' => array($content['id'] => ''));
                        } // END - if
 
                        // Prepare array for the template