Commit 8a6036b52a780672500606c8149f8ce806733a2b
1 parent
99f4ddcb
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. Reviewed By: Conrad git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@6286 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
plugins/ktcore/admin/documentFieldsv2.php
| ... | ... | @@ -371,7 +371,7 @@ class KTDocumentFieldDispatcher extends KTAdminDispatcher { |
| 371 | 371 | $bGeneric = $data['generic']; |
| 372 | 372 | if ($bGeneric != $this->oFieldset->getIsGeneric() && $bGeneric == true) { |
| 373 | 373 | // delink it from all doctypes. |
| 374 | - $aTypes = $oFieldset->getAssociatedTypes(); | |
| 374 | + $aTypes = $this->oFieldset->getAssociatedTypes(); | |
| 375 | 375 | foreach ($aTypes as $oType) { |
| 376 | 376 | $res = KTMetadataUtil::removeSetsFromDocumentType($oType, $oFieldset->getId()); |
| 377 | 377 | if (PEAR::isError($res)) { | ... | ... |