6.0.0-beta1
7/4/25

[#13294] PHP errors if search hits not item
Summary PHP errors if search hits not item
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/26/2014 (4026 days ago)
Due
Updated 06/30/2014 (4022 days ago)
Assigned
Resolved 06/30/2014 (4022 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
06/30/2014 04:46:28 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
06/30/2014 04:42:26 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 73db70f749ee8df86312dccf7e6574a9e00c98fe
Author: Jan Schneider <jan@horde.org>
Date:   Mon Jun 30 18:40:48 2014 +0200

     Fix notices if no items found (Bug #13294).

  sesha/lib/View/List.php       |    1 +
  sesha/templates/view/list.php |    6 ++++++
  2 files changed, 7 insertions(+), 0 deletions(-)

http://github.com/horde/horde/commit/73db70f749ee8df86312dccf7e6574a9e00c98fe
06/26/2014 09:25:24 AM skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de Comment #1
Priority ⇒ 1. Low
New Attachment: h5_sesha-git_search-no-hit.diff.bz2 Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Sesha
Summary ⇒ PHP errors if search hits not item
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
HORDE: [sesha] PHP ERROR: Undefined variable: items [pid 25456 on line 
230 of "/var/www/horde/sesha/lib/View/List.php"]
HORDE: [sesha] PHP ERROR: Invalid argument supplied for foreach() [pid 
25456 on line 29 of "/var/www/horde/sesha/templates/view/list.php"]

It would be good to add the search pattern to the response in the 
Template file.

Saved Queries