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 3333 if ($ row ['creation_date ' ] != '' ) {
3434 $ code = substr (md5 ($ e . $ row ['creation_date ' ] . $ id ), 0 , 10 );
3535
36- if ($ code == $ m ) {
36+ if ($ code === $ m ) {
3737 $ sql = "UPDATE %smembers SET email='%s', last_login=NOW(), creation_date=creation_date WHERE member_id=%d " ;
3838 $ result = queryDB ($ sql , array (TABLE_PREFIX , $ e , $ id ));
3939 $ msg ->addFeedback ('CONFIRM_GOOD ' );
148148
149149 $ code = substr (md5 ($ e . $ row ['creation_date ' ] . $ id ), 0 , 10 );
150150
151- if ($ row ['member_id ' ] != '' && isset ($ _REQUEST ['code ' ]) && $ _REQUEST ['code ' ] == $ code )
151+ if ($ row ['member_id ' ] != '' && isset ($ _REQUEST ['code ' ]) && $ _REQUEST ['code ' ] === $ code )
152152 {
153153 $ _SESSION ['valid_user ' ] = true ;
154154 $ _SESSION ['member_id ' ] = $ _REQUEST ["member_id " ];
You can’t perform that action at this time.
0 commit comments