I found a new problem
When a user submits from the website and it needs to be validated everything goes fine until the admin validates, when this is done Title and Author get overwritten with the data from Date. I believe it's to do with the line
Quote:
$DB_site->query("UPDATE vbArticles_content SET valid='$val',title='".addslashes(htmlspecialchars( $name[$key]))."',byline='".addslashes(htmlspecialchars($desc[$key]))."',author='".addslashes(htmlspecialchars($name[$key]))."',date='".addslashes(htmlspecialchars($name[$key]))."',content='".addslashes(htmlspecialchars($des c[$key]))."' WHERE artid='$key'");
|
from line 190 vbArticlesAdmin.php where a lot of things have author=...$name, date=...$name, title=...$name. There seems to be a mix up with $name[$key] holding the date and being used in too many places.
I could be wrong as I haven't looked into it much.
Thanks