- foreach ($_POST['sel'] as $id => $sel)
- {
- SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_user_transfers_in WHERE trans_id=%s LIMIT 1",
- array(bigintval($id)), __FILE__, __LINE__);
- SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_user_transfers_out WHERE trans_id=%s LIMIT 1",
- array(bigintval($id)), __FILE__, __LINE__);
- }
- }
-}
+ foreach (postRequestParameter('sel') as $id => $sel) {
+ addSql(SQL_QUERY_ESC('DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_user_transfers_in` WHERE `trans_id`=%s LIMIT 1',
+ array(bigintval($id)), __FILE__, __LINE__, false));
+ addSql(SQL_QUERY_ESC('DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_user_transfers_out` WHERE `trans_id`=%s LIMIT 1',
+ array(bigintval($id)), __FILE__, __LINE__, false));
+ } // END - foreach
+
+ // Run all SQLs
+ runFilterChain('run_sqls');
+ } // END - if
+} // END - if