[Tickets #13292] HORDE: [sesha] PHP ERROR: Undefined index: test [pid 2239 on line 534 of "/var/www/horde/sesha/lib/Driver/Rdo.php"]
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Jun 25 17:51:57 UTC 2014
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/13292
------------------------------------------------------------------------------
Ticket | 13292
Created By | skhorde at smail.inf.fh-bonn-rhein-sieg.de
Summary | HORDE: [sesha] PHP ERROR: Undefined index: test [pid
| 2239 on line 534 of
| "/var/www/horde/sesha/lib/Driver/Rdo.php"]
Queue | Sesha
Version | Git master
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
skhorde at smail.inf.fh-bonn-rhein-sieg.de (2014-06-25 17:51) wrote:
diff -r 21e1d22ab3ee var/www/horde/sesha/lib/Driver/Rdo.php
--- a/var/www/horde/sesha/lib/Driver/Rdo.php Wed Jun 25 16:09:49 2014 +0200
+++ b/var/www/horde/sesha/lib/Driver/Rdo.php Wed Jun 25 19:51:00 2014 +0200
@@ -5,7 +5,7 @@
@@ -531,7 +531,7 @@
case 'stock_name':
case 'stock_id':
$filter_values = is_array($filter['value']) ?
$filter['value'] : array($filter['value']);
- $filter_test = (!empty($filter['test']) &&
$filter['test']) ? $filter['test'] : 'LIKE';
+ $filter_test = $filter['test'] ? $filter['test'] : 'LIKE';
$filter_field = $filter['type'];
if ($filter_field == 'stock_id') {
$filter_test = '=';
More information about the bugs
mailing list