Commit d82f0a3f9a2a88fd4e240a3739f87220c7727470
1 parent
8b7b327f
Merged in from STABLE trunk...
KTS-2141 "Register Criterion in Plugin.inc.php does not fix filename" Fixed. Added missing assignment variable. Committed By: Kevin Reviewed By: Conrad git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6874 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/plugins/plugin.inc.php
| ... | ... | @@ -184,7 +184,7 @@ class KTPlugin { |
| 184 | 184 | |
| 185 | 185 | |
| 186 | 186 | function registerCriterion($sClassName, $sNamespace, $sFilename = null, $aInitialize = null) { |
| 187 | - $this->_fixFilename($sFilename); | |
| 187 | + $sFilename = $this->_fixFilename($sFilename); | |
| 188 | 188 | $this->_aCriteria[$sNamespace] = array($sClassName, $sNamespace, $sFilename, $aInitialize); |
| 189 | 189 | } |
| 190 | 190 | ... | ... |