From: <sy...@us...> - 2008-10-16 17:41:30
|
Revision: 15179 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=15179&view=rev Author: sylvieg Date: 2008-10-16 17:41:29 +0000 (Thu, 16 Oct 2008) Log Message: ----------- notice Modified Paths: -------------- trunk/tiki-edit_article.php Modified: trunk/tiki-edit_article.php =================================================================== --- trunk/tiki-edit_article.php 2008-10-16 17:30:37 UTC (rev 15178) +++ trunk/tiki-edit_article.php 2008-10-16 17:41:29 UTC (rev 15179) @@ -46,7 +46,7 @@ $smarty->assign('articleId', $articleId); $smarty->assign('previewId', $previewId); -$smarty->assign('imageIsChanged', ($_REQUEST["imageIsChanged"]=='y')?'y':'n'); +$smarty->assign('imageIsChanged', (isset($_REQUEST['imageIsChanged']) && $_REQUEST['imageIsChanged']=='y')?'y':'n'); if (isset($_REQUEST["templateId"]) && $_REQUEST["templateId"] > 0) { $template_data = $tikilib->get_template($_REQUEST["templateId"]); @@ -476,7 +476,7 @@ if ($prefs['feature_freetags'] == 'y') { include_once ("freetag_list.php"); - if ($_REQUEST["preview"]) { + if (isset($_REQUEST['preview'])) { $smarty->assign('taglist',$_REQUEST["freetag_string"]); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |