noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 19/23: Bug Securimage : fix if session is exp


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 19/23: Bug Securimage : fix if session is expired then $code is undefined
Date: Tue, 24 Nov 2020 14:22:44 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 397f11e04a9081450bf74b96dc831f68e1959cb4
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Tue Nov 17 12:33:50 2020 +0100

    Bug Securimage : fix if session is expired then $code is undefined
---
 html/securimage/securimage.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/html/securimage/securimage.php b/html/securimage/securimage.php
index ebabab0..6d28607 100644
--- a/html/securimage/securimage.php
+++ b/html/securimage/securimage.php
@@ -1142,6 +1142,7 @@ class Securimage {
         */
        function validate()
        {
+            $code='';
                // retrieve code from session, if no code exists check sqlite 
database if supported.
                
                if (isset($_SESSION['securimage_code_value']) && 
trim($_SESSION['securimage_code_value']) != '') {



reply via email to

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