projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45040d0
)
style
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 25 Nov 2008 06:22:43 +0000
(23:22 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 25 Nov 2008 06:22:43 +0000
(23:22 -0700)
imp/stationery.php
patch
|
blob
|
history
diff --git
a/imp/stationery.php
b/imp/stationery.php
index
974186c
..
3c4cbf0
100644
(file)
--- a/
imp/stationery.php
+++ b/
imp/stationery.php
@@
-23,11
+23,9
@@
if ($prefs->isLocked('stationery')) {
/* Retrieve stationery. */
$stationery_list = @unserialize($prefs->getValue('stationery', false));
-if (is_array($stationery_list)) {
- $stationery_list = String::convertCharset($stationery_list, $prefs->getCharset());
-} else {
- $stationery_list = array();
-}
+$stationery_list = is_array($stationery_list)
+ ? String::convertCharset($stationery_list, $prefs->getCharset())
+ : array(();
/* Get form data. */
$selected = Util::getFormData('stationery');