[eluser]Bramme[/eluser]
Okay, I've probably been staring too long at my screen and I just can't see it, but what's wrong with this?
Code:
function edit($tutID = NULL) {
if ( ! isset($tutID) OR ! is_numeric($tutID)) {
redirect('/admin/tutorial/overview');
}
$this->db->where('tutId', $tutID);
$query = $this->db->select('tutorial');
$data['data'] = $query->row();
}
I get the error mentioned in the title...