Quote:
Originally Posted by hugojr
In /includes/functions.php: on line 1171 remove the table_prefix before $idname.
PHP Code:
if (!$check = $DB_site->query_first("SELECT $selid FROM " . TABLE_PREFIX . "$idname WHERE $idname" . "id=$id"))
this is what it look like after according to your explination
PHP Code:
if (!$check = $DB_site->query_first("SELECT $selid FROM " "$idname WHERE $idname" . "id=$id"))
is that correct?
|
Correct, you may want to do a "." just to help you find it in the future. To be honest, I don't know for sure what else is used by this query. This may need to be wrapped in an if statement instead. Can anyone else verify if this is only used for user type queries?