Commit 393a6b36547ebfe2b3a04e296b257fbcecbd5a1d

Authored by Jalaloedien Abrahams
1 parent 8a9de3cb

KTS-1845

"Unable to unsubscribe from a folder. "
Fixed.

Reviewed By: Kevin

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6441 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
lib/ktentity.inc
... ... @@ -167,7 +167,7 @@ class KTEntity {
167 167 $oCache->remove($group, $this->iId);
168 168 $this->clearCachedGroups();
169 169 if ($this->iId >= 0) {
170   - if($dereference = 'true'){
  170 + if($dereference){
171 171 $res = DBUtil::deReference($this->_table(), $this->iId);
172 172 }else{
173 173 $res = DBUtil::autoDelete($this->_table(), $this->iId);
... ...