Commit 44a35536a4fe8bc2e2967298f7ef6bac702c2bca

Authored by Neil Blakey-Milner
1 parent 2b778427

Fix typo, getting attribute getName instead of using method getName()


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5254 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktcore/admin/deletedDocuments.php
... ... @@ -202,14 +202,14 @@ class DeletedDocumentsDispatcher extends KTAdminDispatcher {
202 202 $oDoc->setStatusId(LIVE);
203 203 $res = $oDoc->update();
204 204 if (PEAR::isError($res) || ($res == false)) {
205   - $aErrorDocuments[] = $oDoc->getName;
  205 + $aErrorDocuments[] = $oDoc->getName();
206 206 continue; // skip transactions, etc.
207 207 }
208 208  
209 209 $res = KTPermissionUtil::updatePermissionLookup($oDoc);
210 210  
211 211 if (PEAR::isError($res)) {
212   - $aErrorDocuments[] = $oDoc->getName;
  212 + $aErrorDocuments[] = $oDoc->getName();
213 213 continue; // skip transactions, etc.
214 214 }
215 215  
... ...