1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2023-02-27 10:27:25 -03:00
parent c7f5a84398
commit c5a32b11f3
8 changed files with 15 additions and 13 deletions

View file

@ -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;
}