Fix Bustage in inc_approval.php, Bug 274999

This commit is contained in:
psychoticwolf%carolina.rr.com 2004-12-17 06:50:35 +00:00
parent 0b2951ba2c
commit 0bdd8b7c86

View File

@ -43,7 +43,7 @@ if ($action=="approve") {
if (!file_exists($dirpath)) {
mkdir($dirpath,0755);
}
if (!file_exists("$destination") {
if (!file_exists("$destination")) {
//No File Exists, its safe to rename.
if (rename("$filename", "$destination")) {
//Rename Successfull