Summary | HORDE: [sesha] PHP ERROR: Undefined index: test [pid 2239 on line 534 of "/var/www/horde/sesha/lib/Driver/Rdo.php"] |
Queue | Sesha |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de |
Created | 06/25/2014 (4041 days ago) |
Due | |
Updated | 06/30/2014 (4036 days ago) |
Assigned | |
Resolved | 06/30/2014 (4036 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
commit aa1ab53cf03437b1e7220c9a8497c9afb7ba27a4
Author: Jan Schneider <jan@horde.org>
Date: Mon Jun 30 18:25:28 2014 +0200
Fix undedined notice; indention (
Bug #13292).sesha/lib/Driver/Rdo.php | 107 ++++++++++++++++++++++++---------------------
1 files changed, 57 insertions(+), 50 deletions(-)
http://github.com/horde/horde/commit/aa1ab53cf03437b1e7220c9a8497c9afb7ba27a4
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Sesha
Summary ⇒ HORDE: [sesha] PHP ERROR: Undefined index: test [pid 2239 on line 534 of "/var/www/horde/sesha/lib/Driver/Rdo.php"]
Type ⇒ Bug
State ⇒ Unconfirmed
--- 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 = '=';