6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11045] Listshares cache is not beeing used when previous result is an empty array
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ __.. .. .. , | \(__ |\/|\ / \./ |__/.__)| | \/ |
Comment
> List shares is now caching a false value if $sharelist is empty. > $this->_listcache[$key] = empty($sharelist) ? false : $sharelist; > > The problem is that on the first run the method will return false, > but on the second run, because of: > return is_array($this->_listcache[$key]) ? $this->_listcache[$key] : array(); > > it will return an empty array. > Shouldn't it always return an empty array?
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers