mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
- allow to reset categories
This commit is contained in:
parent
1f0a504919
commit
3722b92fcf
|
@ -147,6 +147,11 @@ if($categories) {
|
||||||
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("error_occured"));
|
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("error_occured"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if($document->setCategories(array())) {
|
||||||
|
} else {
|
||||||
|
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("error_occured"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($sequence != "keep") {
|
if($sequence != "keep") {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user