- Member | 213
I think I found bug in Nette\Database.
Lets have this DB scheme:
Then if you type this code somewhere:
$table = $this->db->table('Operator'); $selection = $table->where('idstatu.name = ?', 'Česká republika');
It throws notice: “Array to string conversion”.
You can try it on your own on this prepared sandbox. SQL for scheme is included: http://uloz.to/…eYt/test-zip
Fix will be appreciated :-)
(PHP 5.4.9–4ubuntu2.4, Apache/2.2.22 (Ubuntu), Nette dev-master)
Last edited by Eda (2014-01-27 01:36)