|
#1
|
|||
|
|||
|
Second password recovery bug
I apologize if there's been a release since 1.4.1 which fixes this--1.4.1 was the last one I noticed was out.
admin/index.php line 87 reads: Code:
if(sql_query($query)) I worked around it by uploading a modified admin/index.php that didn't require the correct password, logged in, set a new password, and put the original (but fixed) PHP back.
__________________
......:: sapphirecat |
|
#2
|
||||
|
||||
|
thanks!!
sql_query is a defined function in includes/functions.php but it should be used as it was there. Thank you for bug report.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#3
|
|||
|
|||
|
So the correct fix is to keep sql_query() as such, and instead throw out the if(...) around it and the else { ... } block? Because sql_query() is already killing us on failure and not returning anything to test?
__________________
......:: sapphirecat |
|
#4
|
||||
|
||||
|
the solution is as you mentioned. sql_query function is for somewhere else.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
| Post Reply |
| Thread Tools | |
|
|