6.0.0-beta1
7/28/25

[#10222] error when compare type is numeric
Summary error when compare type is numeric
Queue Ingo
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester rick (at) havokmon (dot) com
Created 06/10/2011 (5162 days ago)
Due
Updated 06/29/2011 (5143 days ago)
Assigned
Resolved 06/29/2011 (5143 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
06/29/2011 01:58:44 PM Jan Schneider Comment #3
Assigned to Jan Schneider
State ⇒ Resolved
Reply to this comment
Thanks!
06/29/2011 01:58:38 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

[jan] Fix notice when using numeric comparisons for spam headers (Bug #10222).

  3 files changed, 4 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/5cdcb144ceb409caccedd1036829b3a845b158d0
06/10/2011 01:55:44 PM rick (at) havokmon (dot) com Comment #1
Priority ⇒ 1. Low
New Attachment: ingo-numeric.patch Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Ingo
Summary ⇒ error when compare type is numeric
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
if conf.php has
$conf['spam']['compare'] = 'numeric';
then /horde/ingo/lib/Script.php throws an error because conf:spam:char 
doesn't exist -

2011-06-09T20:18:51-05:00 NOTICE: HORDE4 [ingo] PHP ERROR: Undefined 
index:  char [pid 60869 on line 127 of 
"/horde_git/horde/ingo/lib/Script.php"]

Patch just checks to ensure spam:compare == 'string', before setting 
conf:spam:char.

Saved Queries