[Tickets #569] NEW: Task modify: Description is not saved if
previous value is NULL
bugs at bugs.horde.org
bugs at bugs.horde.org
Mon Sep 13 03:50:21 PDT 2004
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=569
-----------------------------------------------------------------------
Ticket | 569
Created By | rvs at angara.ru
Summary | Task modify: Description is not saved if previous value is NULL
Queue | Nag
Version | 1.1.1
State | Unconfirmed
Priority | 2. Medium
Type | Bug
Owners |
-----------------------------------------------------------------------
rvs at angara.ru (2004-09-13 03:50) wrote:
The Description is not saved if previous value is NULL.
This is due to isset() function using in lib/Driver.php (v 1.22.2.6) in line
177:
if (isset($this->_tasks[$id]) &&
isset($this->_tasks[$id][strtolower($attribute)])) {
The issue can be resolved by replacing second isset() by array_key_exists()
if (isset($this->_tasks[$id]) && array_key_exists(strtolower($attribute),
$this->_tasks[$id])) {
After applying this patch all works fine.
More information about the bugs
mailing list