//* DEBUG: */ exit('nextId='.$nextId);
// Is there a valid id?
- if ($nextId > 0) {
+ if (isValidId($nextId)) {
// Then prepare other content
$content = array(
'url_id' => $nextId,
- 'xxx' => str_repeat('X', strlen(getSurfbarReloadTime($nextId))),
+ 'xxx' => str_repeat('X', strlen(getSurfbarWaitingTime($nextId))),
);
// Update salt (double-call lock!) and statistics