]> git.mxchange.org Git - mailer.git/blobdiff - surfbar.php
Used EL code {%template,LoadTemplate=foo%} instead of loadTemplate('foo', TRUE);
[mailer.git] / surfbar.php
index dea767a00bd568d614b83a7ad814ae810cef9582..53bf70849df5d5f0b03cde2fb5e7c6224e9b9093 100644 (file)
@@ -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