6.0.0-alpha12
6/12/25

[#13887] Undefined variable: soft line 1074 of "/usr/share/php/Horde/Core/ActiveSync/Driver.php"
Summary Undefined variable: soft line 1074 of "/usr/share/php/Horde/Core/ActiveSync/Driver.php"
Queue Synchronization
Queue Version FRAMEWORK_5_2
Type Bug
State Resolved
Priority 1. Low
Owners
Requester skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de
Created 02/27/2015 (3758 days ago)
Due
Updated 02/27/2015 (3758 days ago)
Assigned
Resolved 02/27/2015 (3758 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/27/2015 03:00:42 PM Michael Rubinsky State ⇒ Resolved
 
02/27/2015 03:00:27 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 201ae16b0095251932a65c5e70a5141490e152d2
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Fri Feb 27 09:59:45 2015 -0500

     Fix variable name/logic.

     Bug: 13887

  .../Core/lib/Horde/Core/ActiveSync/Driver.php      |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

http://github.com/horde/horde/commit/201ae16b0095251932a65c5e70a5141490e152d2
02/27/2015 02:36:27 PM skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Undefined variable: soft line 1074 of "/usr/share/php/Horde/Core/ActiveSync/Driver.php"
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
Reply to this comment
Horde_ActiveSync             2.26.0  stable

since my last upgrade I get:

PHP ERROR: Undefined variable: soft [pid 8033 on line 1074 of 
"/usr/share/php/Horde/Core/ActiveSync/Driver.php"]

The line in question is, but $soft is not defined above this line nor 
is this piece of code part of a loop.
                // SOFTDELETE
                 if (!$soft) {
                     $sd = $folder->getSoftDeleteTimes();
                     if ($sd[1] + 82800 + mt_rand(0, 3600) < time()) {
                         $soft = true;
                     } else {
                         $soft = false;
                     }
                 }

Saved Queries