|
...
|
...
|
@@ -54,7 +54,7 @@ function random_string ($charset_string, $length)
|
|
54
|
54
|
// all MD5 hashes are 32 exact characters long, hexadecimal, 0-9 and a-f random
|
|
55
|
55
|
// this set is a bit cursed... but it works
|
|
56
|
56
|
$pwdcharlengthquery = dbquery("SELECT CHAR_LENGTH(password) FROM ".TABLEPREFIX."fanfiction_authors WHERE uid = ".USERUID.";");
|
|
57
|
|
- $pwdlengthfetch = mysqli_fetch_row($pwdcharlengthquery);
|
|
|
57
|
+ $pwdlengthfetch = dbrow($pwdcharlengthquery);
|
|
58
|
58
|
$pwdlengthstring = end($pwdlengthfetch);
|
|
59
|
59
|
$pwdcheck = (int) $pwdlengthstring;
|
|
60
|
60
|
if ($pwdcheck == 32) $output .= "<center>"._INSECUREPWD."</center><br>";
|