Fatal error: Call to a member function rowCount() on a non-object in /projekty/NowyAdmin/models/class.Agenda.php on line 38