// Is the array element not set?
if (!REQUEST_ISSET_POST('cat', $content['id'])) {
// Then set it
- REQUEST_SET_POST(array('cat', $content['id']), '');
+ REQUEST_SET_POST('cat' => array($content['id'] => ''));
} // END - if
// Prepare array for the template
// Set required fields
REQUEST_SET_POST('edit', '1');
- REQUEST_SET_POST(array('sel', $aid), '1');
+ REQUEST_SET_POST('sel', array($aid => '1'));
} // END - if
if ((REQUEST_ISSET_POST('edit')) && (countPostSelection() > 0)) {
$id = bigintval($id);
// Revert german commata
- REQUEST_SET_POST(array('perc', $id), convertCommaToDot(REQUEST_POST('perc', $id)));
+ REQUEST_SET_POST('perc' => array($id => convertCommaToDot(REQUEST_POST('perc', $id))));
// Update entry
SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_refdepths` SET level='%s', percents='%s' WHERE `id`=%s LIMIT 1",