setName() didn't work due to a copy&paste error

This commit is contained in:
Uwe Steinmann 2021-09-30 15:44:08 +02:00
parent ef2aaaf32c
commit 1b1e60f88f

View File

@ -55,7 +55,7 @@ class SeedDMS_Core_DocumentCategory {
function setName($newName) { /* {{{ */
$newName = trim($newName);
if(!$name)
if(!$newName)
return false;
$db = $this->_dms->getDB();