svn: /pear2/Pyrus/trunk/src/Pyrus/ChannelRegistry/ Sqlite3.php
| From: | Christian Weiske | Date: | Wed, 25 Nov 2009 08:18:51 +0000 |
| Subject: | svn: /pear2/Pyrus/trunk/src/Pyrus/ChannelRegistry/ Sqlite3.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9050@lists.php.net to get a copy of this message | ||
cweiske Wed, 25 Nov 2009 08:18:51 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291295
Log:
use sqlite3 constant (thanks, gwynne!)
Changed paths:
U pear2/Pyrus/trunk/src/Pyrus/ChannelRegistry/Sqlite3.php
Modified: pear2/Pyrus/trunk/src/Pyrus/ChannelRegistry/Sqlite3.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/ChannelRegistry/Sqlite3.php 2009-11-25 07:48:43 UTC (rev 291294)
+++ pear2/Pyrus/trunk/src/Pyrus/ChannelRegistry/Sqlite3.php 2009-11-25 08:18:51 UTC (rev 291295)
@@ -470,7 +470,7 @@
$ret = array();
$sql = 'SELECT channel FROM channels ORDER BY channel';
$res = static::$databases[$this->path]->query($sql);
- while ($chan = $res->fetchArray(SQLITE_ASSOC)) {
+ while ($chan = $res->fetchArray(SQLITE3_ASSOC)) {
$ret[] = $chan['channel'];
}