projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d128a3b
)
make sure $_temp is an array
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Mon, 17 May 2010 18:36:27 +0000
(14:36 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Mon, 17 May 2010 18:36:27 +0000
(14:36 -0400)
mnemo/lib/Mnemo.php
patch
|
blob
|
history
diff --git
a/mnemo/lib/Mnemo.php
b/mnemo/lib/Mnemo.php
index
94bbc68
..
ce7f478
100644
(file)
--- a/
mnemo/lib/Mnemo.php
+++ b/
mnemo/lib/Mnemo.php
@@
-422,7
+422,8
@@
class Mnemo {
}
// Make sure all notepads exist now, to save on checking later.
- $_temp = $GLOBALS['display_notepads'];
+ $_temp = ($GLOBALS['display_notepads']) ? $GLOBALS['display_notepads'] : array();
+
$_all = Mnemo::listNotepads();
$GLOBALS['display_notepads'] = array();
foreach ($_temp as $id) {