[prev in list] [next in list] [prev in thread] [next in thread] 

List:       horde-bugs
Subject:    [Tickets #3545] NEW: Bug in test.php asks for Pear DB version that
From:       bugs () coyote ! horde ! org
Date:       2006-02-28 20:02:14
Message-ID: 20060228120214.3knewn2twscscsko () bugs ! horde ! org
[Download RAW message or body]

DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3545
-----------------------------------------------------------------------
 Ticket             | 3545
 Created By         | jp.senior@gmail.com
 Summary            | Bug in test.php asks for Pear DB version that does not exist [with fix]
 Queue              | Horde Base
 Version            | 3.0
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


jp.senior@gmail.com (2006-02-28 12:02) wrote:

--- test.php.old        2006-02-28 12:57:50.000000000 -0700
+++ test.php    2006-02-28 12:57:06.000000000 -0700
@@ -157,7 +157,7 @@
 {
     $peardbversion = '0';
     $peardbversion = @DB::apiVersion();
-    if ($peardbversion < 2) {
+    if ($peardbversion < 1.6) {
         return 'Your version of DB (' . $peardbversion . ') is not recent
enough.';
     }
 }


Here is a very simple patch -- Checking
http://pear.php.net/package/DB/download/ does not show any versions above
version 1.7.6 as of this post.

I put in 1.6 merely as a placeholder, I couldn't find anything radically
different between version 1.6 and 1.7 so I put 1.6 on for the check.

Cheers,
JP / sartan




-- 
You are subscribed to this list as: horde-bugs@progressive-comp.com
To unsubscribe, mail: bugs-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic