it works?!
This commit is contained in:
parent
19316744ce
commit
6257325206
@ -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'];
|
||||
|
Loading…
Reference in New Issue
Block a user