From: <cha...@us...> - 2012-04-20 09:23:20
|
Revision: 41004 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=41004&view=rev Author: changi67 Date: 2012-04-20 09:23:10 +0000 (Fri, 20 Apr 2012) Log Message: ----------- [FIX] Section edit for hdr = 0 wasn't working - check string = int Modified Paths: -------------- branches/9.x/tiki-editpage.php Modified: branches/9.x/tiki-editpage.php =================================================================== --- branches/9.x/tiki-editpage.php 2012-04-20 01:37:17 UTC (rev 41003) +++ branches/9.x/tiki-editpage.php 2012-04-20 09:23:10 UTC (rev 41004) @@ -623,7 +623,7 @@ } elseif (isset($info["data"])) { if ((isset($_REQUEST['hdr']) || (!empty($_REQUEST['pos']) && isset($_REQUEST['cell']))) && $prefs['wiki_edit_section'] === 'y') { if (isset($_REQUEST['hdr'])) { - if ($_REQUEST['hdr'] === 0) { + if ($_REQUEST['hdr'] === "0") { list($real_start, $real_len) = $tikilib->get_wiki_section($info['data'], 1); $real_len = $real_start; $real_start = 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |