]> git.mxchange.org Git - mailer.git/commitdiff
Missing li-tag added to avoid XHTML error
authorRoland Häder <roland@mxchange.org>
Sun, 26 Jul 2009 12:57:12 +0000 (12:57 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 26 Jul 2009 12:57:12 +0000 (12:57 +0000)
inc/modules/admin/admin-inc.php

index 6caa384580c4f8ad998687125d7d4f1729e81417..045b1e52dcb577d2e6eed0c3f6905e45fe2a544b 100644 (file)
@@ -377,7 +377,7 @@ function ADD_ADMIN_MENU ($act, $wht, $return=false) {
 
                                // Check for menu entries
                                $result_what = SQL_QUERY_ESC("SELECT what, title, descr FROM `{!_MYSQL_PREFIX!}_admin_menu` WHERE `action`='%s' AND `what` != '' AND `what` IS NOT NULL ORDER BY `sort`, id DESC",
-                               array($menu), __FUNCTION__, __LINE__);
+                                       array($menu), __FUNCTION__, __LINE__);
 
                                // Remember the count for later checks
                                setAdminMenuHasEntries($menu, ((SQL_NUMROWS($result_what) > 0) && ($act == $menu)));
@@ -386,7 +386,7 @@ function ADD_ADMIN_MENU ($act, $wht, $return=false) {
                                if ((ifAdminMenuHasEntries($menu)) && (SQL_NUMROWS($result_what) > 0)) {
                                        $GLOBALS['menu']['description'] = array();
                                        $GLOBALS['menu']['title'] = array(); $SUB = true;
-                                       $OUT .= "<ul class=\"admin_menu_sub\">\n";
+                                       $OUT .= "<li class=\"admin_menu_sub\"><ul class=\"admin_menu_sub\">\n";
                                        // @TODO Rewrite this to $content = SQL_FETCHARRAY()
                                        while (list($wht_sub, $title_what, $desc_what) = SQL_FETCHROW($result_what)) {
                                                // Check for access level