Commit c9ae7e264186436f5ba7a020ed7f531fed6fdcbf
1 parent
49680837
KTS-1700
"Fatal error: Call to a member function on a non-object in /home/kevin/ktdms/knowledgeTree/plugins/ktcore/admin/documentFieldsv2.php on line 374" Fixed. Added fix to line 376 as well. Reviewed By: Conrad git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@6296 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
plugins/ktcore/admin/documentFieldsv2.php
| ... | ... | @@ -373,7 +373,7 @@ class KTDocumentFieldDispatcher extends KTAdminDispatcher { |
| 373 | 373 | // delink it from all doctypes. |
| 374 | 374 | $aTypes = $this->oFieldset->getAssociatedTypes(); |
| 375 | 375 | foreach ($aTypes as $oType) { |
| 376 | - $res = KTMetadataUtil::removeSetsFromDocumentType($oType, $oFieldset->getId()); | |
| 376 | + $res = KTMetadataUtil::removeSetsFromDocumentType($oType, $this->oFieldset->getId()); | |
| 377 | 377 | if (PEAR::isError($res)) { |
| 378 | 378 | $this->errorRedirectTo('edit', _kt('Could not save fieldset changes')); |
| 379 | 379 | exit(0); | ... | ... |