Browse Source

Fixing example of Zend_Db_Table_Select::where() usage. Resolves ZF-8155.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18737 44c647ce-9c0f-0410-b52a-842ac1e357ba
jordanryanmoore 16 years ago
parent
commit
296f5e29b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      documentation/manual/en/module_specs/Zend_Db_Table.xml

+ 1 - 1
documentation/manual/en/module_specs/Zend_Db_Table.xml

@@ -1037,7 +1037,7 @@ $order  = 'bug_id';
 $count  = 10;
 $offset = 20;
 
-$select = $table->select()->where(array('bug_status = ?' => 'NEW'))
+$select = $table->select()->where('bug_status = ?', 'NEW')
                           ->order($order)
                           ->limit($count, $offset);