Skip to content

Commit

Permalink
Don't assign by referene (not useful since PHP4)
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Apr 8, 2021
1 parent 08335b7 commit e3aa3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/LSActiveRecord.php
Expand Up @@ -421,7 +421,7 @@ public function decryptEncryptAttributes($action = 'decrypt')
}
} else {
$attributes = $this->encryptAttributeValues($this->attributes, true, false);
$LEM =& LimeExpressionManager::singleton();
$LEM = LimeExpressionManager::singleton();
$updatedValues = $LEM->getUpdatedValues();
foreach ($attributes as $key => $attribute) {
if ($action === 'decrypt' && array_key_exists($key, $updatedValues)) {
Expand Down

0 comments on commit e3aa3d6

Please sign in to comment.