[geeklog-cvs] geeklog: E_ALL fixes

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Aug 9 07:03:24 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/10f594b38261
changeset: 7246:10f594b38261
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Aug 09 12:00:24 2009 +0200
description:
E_ALL fixes

diffstat:

 public_html/admin/plugins/staticpages/index.php |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 6d0b9414d390 -r 10f594b38261 public_html/admin/plugins/staticpages/index.php
--- a/public_html/admin/plugins/staticpages/index.php	Sun Aug 09 11:59:39 2009 +0200
+++ b/public_html/admin/plugins/staticpages/index.php	Sun Aug 09 12:00:24 2009 +0200
@@ -120,7 +120,7 @@
             $sp_template->set_var ('toolbar5', $LANG24[75]);
             $sp_template->set_var('lang_nojavascript',$LANG24[77]);
             $sp_template->set_var('lang_postmode', $LANG24[4]);
-            if ($A['postmode'] == 'adveditor') {
+            if (isset($A['postmode']) && ($A['postmode'] == 'adveditor')) {
                 $sp_template->set_var('show_adveditor','');
                 $sp_template->set_var('show_htmleditor','none');
             } else {
@@ -128,7 +128,7 @@
                 $sp_template->set_var('show_htmleditor','');
             }
             $post_options = '<option value="html" selected="selected">'.$LANG_postmodes['html'].'</option>';
-            if ($A['postmode'] == 'adveditor') {
+            if (isset($A['postmode']) && ($A['postmode'] == 'adveditor')) {
                 $post_options .= '<option value="adveditor" selected="selected">'.$LANG24[86].'</option>';
             } else {
                 $post_options .= '<option value="adveditor">'.$LANG24[86].'</option>';



More information about the geeklog-cvs mailing list