projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cde664
)
A quick fix to avoid asking for shares if login failed.
author
Gunnar Wrobel
<p@rdus.de>
Thu, 11 Mar 2010 07:28:40 +0000
(08:28 +0100)
committer
Gunnar Wrobel
<p@rdus.de>
Thu, 11 Mar 2010 07:28:40 +0000
(08:28 +0100)
framework/Share/Share/kolab.php
patch
|
blob
|
history
diff --git
a/framework/Share/Share/kolab.php
b/framework/Share/Share/kolab.php
index
bae3d07
..
05604f0
100644
(file)
--- a/
framework/Share/Share/kolab.php
+++ b/
framework/Share/Share/kolab.php
@@
-221,7
+221,9
@@
class Horde_Share_kolab extends Horde_Share {
$sort_by = null, $direction = 0)
{
$key = serialize(array($this->_type, $userid, $perm, $attributes));
- if (empty($this->_listCache[$key])
+ if ($this->_list === false) {
+ $this->_listCache[$key] = array();
+ } else if (empty($this->_listCache[$key])
|| $this->_list->validity != $this->_listCacheValidity) {
$sharelist = $this->_list->getByType($this->_type);
if (is_a($sharelist, 'PEAR_Error')) {