From: <jon...@us...> - 2012-10-03 16:21:37
|
Revision: 43266 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=43266&view=rev Author: jonnybradley Date: 2012-10-03 16:21:31 +0000 (Wed, 03 Oct 2012) Log Message: ----------- [FIX] plugin alias: Another reference to $_COOKIE['tab'] Modified Paths: -------------- branches/9.x/admin/include_textarea.php Modified: branches/9.x/admin/include_textarea.php =================================================================== --- branches/9.x/admin/include_textarea.php 2012-10-03 16:10:51 UTC (rev 43265) +++ branches/9.x/admin/include_textarea.php 2012-10-03 16:21:31 UTC (rev 43266) @@ -19,7 +19,7 @@ if (isset($info['prefs']) && is_array($info['prefs']) && count($info['prefs']) > 0) $plugins[$name] = $info; } $smarty->assign('plugins', $plugins); -if (isset($_REQUEST['textareasetup']) && (!isset($_COOKIE['tab']) || $_COOKIE['tab'] != 3)) { // tab=3 is plugins alias tab (TODO improve) +if (isset($_REQUEST['textareasetup']) && (getCookie('admin_textarea', 'tabs') == 3)) { // tab=3 is plugins alias tab (TODO improve) ask_ticket('admin-inc-textarea'); foreach (glob('temp/cache/wikiplugin_*') as $file) unlink($file); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |