Skip to content

Commit 85c8044

Browse files
authored
Update Database.php
1 parent 33ab6cf commit 85c8044

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Database.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,22 +105,13 @@ protected function __construct($data = [], $info = [])
105105
}
106106
}
107107

108-
// public function __call($method, $args)
109-
// {
110-
// var_dump($this);
111-
// }
112108

113109
/**
114110
* @param $prop
115111
* @return mixed
116112
*/
117113
public function __get($prop)
118114
{
119-
if(!isset($this->__cach[md5($this->_table)]))
120-
{
121-
return null;
122-
}
123-
124115
return isset($this->_results->$prop) ? $this->_results->$prop : null;
125116
}
126117

@@ -1428,4 +1419,4 @@ protected function toArray($items)
14281419

14291420
return $items;
14301421
}
1431-
}
1422+
}

0 commit comments

Comments
 (0)