break;
} // END - switch
- if ((isSqlsValid()) && (isSqlsValid())) {
- // Is INSERT there?
- if (isInString('INSERT', $GLOBALS['sqls'][0])) {
- $result = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `level`=%s LIMIT 1",
- array(bigintval(postRequestElement('level'))), __FILE__, __LINE__);
- SQL_FREERESULT($result);
- } // END - if
+ // Is there an array?
+ if ((getRequestElement('sub') != 'points') && (isSqlsValid())) {
+ // Default is failed-message
+ $message = '<span class="bad">{--SETTINGS_NOT_SAVED--}</span>';
if (countSqls() > 0) {
// Run all SQL commands
// Destroy config cache file here...
rebuildCache('config', 'config');
- } else {
- // Prepare failed-message
- $message = '<span class="bad">{--SETTINGS_NOT_SAVED--}</span>';
- }
+ } // END - if
// Remove SQL queries
unsetSqls();
- }
+ } // END - if
// Shall we display a message?
if (!empty($message)) {