Permalink
Browse files

Merge pull request #2 from brhale21/master

Update to get_all_with_filename function
  • Loading branch information...
jerel committed Jan 8, 2012
2 parents d85a505 + b37a35f commit 66c50e1ebca0706410d83eedb84c00482fdeef73
Showing with 1 addition and 1 deletion.
  1. +1 −1 models/gallery_m.php
View
@@ -65,7 +65,7 @@ public function get_all_with_filename($where = NULL, $value = NULL)
// Where clause provided?
if ( ! empty($where) AND ! empty($value))
{
- $this->db->where($where, $value);
+ $this->db->where('galleries.'.$where, $value);
}
return $this->db->get()->result();

0 comments on commit 66c50e1

Please sign in to comment.