I seem to have an extra %s in sql.php

Edwin Culp <[email protected]> Sun, 27 Jun 2004 13:20:20 -0500
Newsgroups gmane.comp.horde.mnemo
Message-ID <[email protected]>
This message is in MIME format.

--=_w9kvic0udi8
Content-Type: text/plain; charset="ISO-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

With the latest tables and programs, I seem to have an extra %s
in sql.php.  patch attached that has mine working just in case
that is the problem.

Thanks,

ed

--=_w9kvic0udi8
Content-Type: text/x-patch; charset="UTF-8"; name="mnemo_sql.diff"
Content-Disposition: attachment; filename="mnemo_sql.diff"
Content-Transfer-Encoding: 7bit

Index: sql.php
===================================================================
RCS file: /repository/mnemo/lib/Driver/sql.php,v
retrieving revision 1.25
diff -u -r1.25 sql.php
--- sql.php	25 Jun 2004 13:54:00 -0000	1.25
+++ sql.php	27 Jun 2004 18:10:12 -0000
@@ -158,7 +158,7 @@
         $query = sprintf(
             'INSERT INTO %s (memo_owner, memo_id, memo_desc, ' .
             'memo_body, memo_category) ' .
-            'VALUES (%s, %s, %s, %s, %s, %s)',
+            'VALUES (%s, %s, %s, %s, %s)',
             $this->_params['table'],
             $this->_db->quote($this->_notepad),
             $this->_db->quote($noteId),

--=_w9kvic0udi8
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
Mnemo mailing list - Join the hunt: http://horde.org/bounties/#mnemo
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]

--=_w9kvic0udi8--