Summary | Bug in test.php asks for Pear DB version that does not exist [with fix] |
Queue | Horde Base |
Queue Version | 3.0 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | jp.senior (at) gmail (dot) com |
Created | 02/28/2006 (7040 days ago) |
Due | |
Updated | 02/28/2006 (7040 days ago) |
Assigned | |
Resolved | 02/28/2006 (7040 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
and the pear DB package but this is certainly wrong - perhaps someone
can nail out an appropriate version to check for. Regardless, '2'
certainly is wrong.
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Bug in test.php asks for Pear DB version that does not exist [with fix]
Queue ⇒ Horde Base
+++ 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