From: <li...@us...> - 2011-02-13 22:11:13
|
Revision: 32646 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=32646&view=rev Author: lindonb Date: 2011-02-13 22:11:07 +0000 (Sun, 13 Feb 2011) Log Message: ----------- [FIX] Keep feature_sefurl_paths preference from setting when user sets other preferences in the sefurl admin panel Modified Paths: -------------- trunk/lib/setup/prefs.php Modified: trunk/lib/setup/prefs.php =================================================================== --- trunk/lib/setup/prefs.php 2011-02-13 22:07:38 UTC (rev 32645) +++ trunk/lib/setup/prefs.php 2011-02-13 22:11:07 UTC (rev 32646) @@ -6,7 +6,7 @@ // $Id$ // RULE1: $prefs does not contain serialized values. Only the database contains serialized values. -// RULE2: put array() in default prefs for serialized values +// RULE2: put array('') in default prefs for serialized values //this script may only be included - so its better to die if called directly. if ( basename($_SERVER['SCRIPT_NAME']) == basename(__FILE__) ) { @@ -1737,7 +1737,7 @@ // SefUrl 'feature_sefurl' => 'n', 'feature_sefurl_filter' => 'n', - 'feature_sefurl_paths' => array(), + 'feature_sefurl_paths' => array(''), //empty string needed to keep preference from setting unexpectedly 'feature_sefurl_title_article' =>'n', 'feature_sefurl_title_blog' =>'n', 'feature_sefurl_tracker_prefixalias' =>'n', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |