- setting a comment does not cause an error anymore if the comment did change

This commit is contained in:
steinm 2011-02-03 07:26:08 +00:00
parent 4000e712dd
commit 82ec82741b

View File

@ -79,9 +79,9 @@ if (($oldcomment = $version->getComment()) != $comment) {
} }
} }
} }
} else {
else {
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("error_occured")); UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("error_occured"));
}
} }
add_log_line("?documentid=".$documentid); add_log_line("?documentid=".$documentid);