* [DEV] Improved account search handling

* [DEV] Fixed some UI issues
This commit is contained in:
nuxsmin
2016-11-02 03:26:21 +01:00
committed by Rubén Domínguez
parent e7adbf7f05
commit 3979d28e2d
45 changed files with 1058 additions and 1010 deletions

View File

@@ -236,11 +236,11 @@ class CustomFieldBaseData extends DataModelBase
* @return void
* @link http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.sleep
*/
function __wakeup()
public function __wakeup()
{
// Para realizar la conversión de nombre de propiedades que empiezan por _
foreach (get_object_vars($this) as $name => $value) {
if (substr($name, 0, 1) === '_') {
if ($name[0] === '_') {
$newName = substr($name, 1);
$this->$newName = $value;
}