noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 14/65: bug in redirect


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 14/65: bug in redirect
Date: Wed, 09 Sep 2015 08:27:06 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit e6f980c783d2ab2cb5a5264cf7dd4fb6f6d94cd6
Author: Dany De Bontridder <address@hidden>
Date:   Sun Aug 30 04:50:13 2015 +0200

    bug in redirect
---
 include/user_common.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/user_common.php b/include/user_common.php
index 840754b..aa8f67b 100644
--- a/include/user_common.php
+++ b/include/user_common.php
@@ -211,7 +211,7 @@ function CleanUrl()
 }
 function redirect($p_string,$p_time=0)
 {
-    if (strpos('?', $p_string) == 0 ) {
+    if (strpos( $p_string,'?') == 0 ) {
         $p_string = $p_string.'?v='.microtime(true);
     }
     echo '<HTML><head><META HTTP-EQUIV="REFRESH" 
content="'.$p_time.';url='.$p_string.'"></head><body> Connecting... 
</body></html>';



reply via email to

[Prev in Thread] Current Thread [Next in Thread]