mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
fix
This commit is contained in:
parent
c7f5a84398
commit
c5a32b11f3
8 changed files with 15 additions and 13 deletions
|
@ -10,7 +10,7 @@ require_once $global['systemRootPath'] . 'objects/user.php';
|
|||
require_once $global['systemRootPath'] . 'objects/video.php';
|
||||
|
||||
class Category {
|
||||
private $properties = [];
|
||||
protected $properties = [];
|
||||
|
||||
private $id;
|
||||
private $name;
|
||||
|
@ -106,8 +106,8 @@ class Category {
|
|||
return false;
|
||||
}
|
||||
foreach ($row as $key => $value) {
|
||||
//$this->$key = $value;
|
||||
$this->properties[$key] = $value;
|
||||
@$this->$key = $value;
|
||||
//$this->properties[$key] = $value;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue