- if ((isSqlsValid()) && (isSqlsValid())) {
- if (strpos($GLOBALS['sqls'][0], 'INSERT') > -1) {
- $result = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `level`=%s LIMIT 1",
- array(bigintval(postRequestParameter('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>';