File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 33
33
if ($ row ['creation_date ' ] != '' ) {
34
34
$ code = substr (md5 ($ e . $ row ['creation_date ' ] . $ id ), 0 , 10 );
35
35
36
- if ($ code == $ m ) {
36
+ if ($ code === $ m ) {
37
37
$ sql = "UPDATE %smembers SET email='%s', last_login=NOW(), creation_date=creation_date WHERE member_id=%d " ;
38
38
$ result = queryDB ($ sql , array (TABLE_PREFIX , $ e , $ id ));
39
39
$ msg ->addFeedback ('CONFIRM_GOOD ' );
148
148
149
149
$ code = substr (md5 ($ e . $ row ['creation_date ' ] . $ id ), 0 , 10 );
150
150
151
- if ($ row ['member_id ' ] != '' && isset ($ _REQUEST ['code ' ]) && $ _REQUEST ['code ' ] == $ code )
151
+ if ($ row ['member_id ' ] != '' && isset ($ _REQUEST ['code ' ]) && $ _REQUEST ['code ' ] === $ code )
152
152
{
153
153
$ _SESSION ['valid_user ' ] = true ;
154
154
$ _SESSION ['member_id ' ] = $ _REQUEST ["member_id " ];
You can’t perform that action at this time.
0 commit comments