2012-03-17, 03:14:31
nelmaven Wrote:$id = clean_urls(to7bits($_POST['id'], "UTF-8"));The above code cause new items to not be named after the title and instead, a random string.
I have left that line alone and added this underneath it:
Code:
$orig_file = ITEMDATA . $_POST['id'] . '.xml';
if(file_exists($orig_file) && $id != $_POST['id'])
{
unlink($orig_file);
}
Version 1.4 Has Been Uploaded
With the above changes.