Some translations and cleanup [skip ci]

This commit is contained in:
James Cole
2015-05-24 15:13:07 +02:00
parent 61930b5b51
commit 7193a77840
7 changed files with 27 additions and 13 deletions

View File

@@ -58,7 +58,7 @@ class Preference extends Model
*/
public function setDataAttribute($value)
{
$this->attributes['data'] = '';//json_encode($value);
$this->attributes['data'] = '';
$this->attributes['data_encrypted'] = Crypt::encrypt(json_encode($value));
}