X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=surfbar.php;h=d94497b2a06c45529d8d1a78d8665c5cbbd1cd2d;hp=dea767a00bd568d614b83a7ad814ae810cef9582;hb=07366c0521a40cdef9ca96c6aa7646f2725db19c;hpb=5b2fa7f464317185154a3550edb5786d52b2cbf9 diff --git a/surfbar.php b/surfbar.php index dea767a00b..d94497b2a0 100644 --- a/surfbar.php +++ b/surfbar.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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