X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=surfbar.php;h=53bf70849df5d5f0b03cde2fb5e7c6224e9b9093;hb=03cf8f5966d13bab1c193b16ecbdf62fa6fbcce4;hp=8efa7bb61ad9979f02b8e5af99bd05ba52c84e46;hpb=dffad9e811f8728d2672630a009fe2f8736c3837;p=mailer.git diff --git a/surfbar.php b/surfbar.php index 8efa7bb61a..53bf70849d 100644 --- a/surfbar.php +++ b/surfbar.php @@ -140,7 +140,7 @@ if ((isSurfbarReloadFull()) || ((!isFullPage()) && (in_array(getRequestElement(' // Prepare content $content = array( 'start' => str_repeat('X', strlen(getSurfbarRestartTime())), - 'autostart' => (isSurfbarAutoStartEnbaled()) ? 'true' : 'false' + 'autostart' => (isSurfbarAutoStartEnabled()) ? 'true' : 'false' ); // Load template for stopped surfbar @@ -184,11 +184,11 @@ if ((isSurfbarReloadFull()) || ((!isFullPage()) && (in_array(getRequestElement(' //* 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