// If the column is 'url_id' there can be only one entry
$limit = '';
if ($column == 'url_id') {
- $limit = "LIMIT 1";
+ $limit = 'LIMIT 1';
} // END - if
// Look up the record
updateInsertSurfbarStatisticsRecord();
// Simply store the salt from cache away in database...
- SQL_QUERY_ESC("UPDATE
+ SQL_QUERY("UPDATE
`{?_MYSQL_PREFIX?}_surfbar_salts`
SET
`salts_last_salt`='{%pipe,getSurfbarSalt%}'
// Get fixed reload lock
$fixed = getSurfbarFixedWaitingTime();
- // Is the fixed reload time set?
+ // Is the URL's fixed waiting time set?
if ($fixed > 0) {
// Return it
return $fixed;
} // END - if
// Static time is default
- $time = getConfig('surfbar_static_time');
+ $time = getSurfbarStaticTime();
// Which payment model do we have?
if (getSurfbarPaymentModel() == 'DYNAMIC') {