case 'edit': // Change entries
foreach (postRequestElement('level') as $id => $value) {
- // Secure ID
+ // Secure id
$id = bigintval($id);
// Revert german commata
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(postRequestElement('level'))), __FILE__, __LINE__);
+ $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
'sw' => $SW,
'id' => $id,
'level' => $content['level'],
- 'percents' => translateComma($contentp['percents']),
+ 'percents' => translateComma($content['percents']),
);
// Load row template and switch color