mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-08 09:26:57 +01:00
* [DEV] Improved account search handling
* [DEV] Fixed some UI issues
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user