it works?!

This commit is contained in:
Igor Barkov [iwork] 2019-01-14 16:06:26 +02:00
parent 19316744ce
commit 6257325206
1 changed files with 3 additions and 1 deletions

View File

@ -72,7 +72,9 @@ abstract class Item
public function __construct($row)
{
foreach ($this as $key=>$value) {
$this->$key = $row[$key];
if (!empty($key)) {
$this->$key = $row[$key];
}
}
// ТА ЛААААДНО?!
// $this->name = $row['name'];