Empty commit

This commit is contained in:
Git 2015-03-28 08:00:28 +00:00
parent 971c7a40b3
commit beb0c8362e

View File

@ -15,13 +15,14 @@
error(403);
}
$DB->query("
if (isset($_POST['name'])) {
$DB->query("
SELECT ID, Deleted
FROM collages
WHERE Name = '".db_string($_POST['name'])."'
AND ID != '$CollageID'
LIMIT 1");
if ($DB->has_results()) {
if ($DB->has_results()) {
list($ID, $Deleted) = $DB->next_record();
if ($Deleted) {
$Err = 'A collage with that name already exists but needs to be recovered, please <a href="staffpm.php">contact</a> the staff team!';
@ -31,6 +32,7 @@
$ErrNoEscape = true;
include(SERVER_ROOT.'/sections/collages/edit.php');
die();
}
}
$TagList = explode(',', $_POST['tags']);