X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmysql-manager.php;h=45bd10646e9804c46928bb3529564d119a00a42f;hp=322626c01f6f50e53158e9b7cbc0c1659acbff7e;hb=a226d81121cb96048b1ed85fd8584a87d435b0db;hpb=ffe213c8e3f85119ddd5544214d0de9ecb833d98 diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 322626c01f..45bd10646e 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -47,7 +47,7 @@ if (!defined('__SECURITY')) { function getTitleFromMenu ($mode, $what, $column = 'what', $ADD='') { // Fix empty 'what' if (empty($what)) { - $what = getConfig('index_home'); + $what = getIndexHome(); } // END - if // Default is not found @@ -208,7 +208,7 @@ ORDER BY array($mode), __FUNCTION__, __LINE__); //* DEBUG: */ debugOutput(__LINE__.'/'.$main_cnt.':'.getWhat().'*'); - if (SQL_NUMROWS($result_main) > 0) { + if (!SQL_HASZERONUMS($result_main)) { // There are menus available, so we simply display them... :) $GLOBALS['rows'] = ''; while ($content = SQL_FETCHARRAY($result_main)) { @@ -237,7 +237,7 @@ ORDER BY array($mode, $content['action']), __FUNCTION__, __LINE__); // Do we have some entries? - if (SQL_NUMROWS($result_sub) > 0) { + if (!SQL_HASZERONUMS($result_sub)) { // Init counter $cnt = '0'; @@ -266,7 +266,7 @@ ORDER BY } // Menu title - $OUT .= getConfig('menu_blur_spacer') . $content['sub_title']; + $OUT .= '{?menu_blur_spacer?}' . $content['sub_title']; if (isIncludeReadable($inc)) { $OUT .= ''; @@ -601,7 +601,7 @@ function addMaxReceiveList ($mode, $default = '', $return = false) { } // Some entries are found? - if (SQL_NUMROWS($result) > 0) { + if (!SQL_HASZERONUMS($result)) { $OUT = ''; while ($content = SQL_FETCHARRAY($result)) { $OUT .= '