Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22078
Modified Files:
serendipity_admin_plugins.inc.php
Log Message:
- Fix invalid javascript redirection URI
Index: serendipity_admin_plugins.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_admin_plugins.inc.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- serendipity_admin_plugins.inc.php 3 Sep 2004 23:12:48 -0000 1.44
+++ serendipity_admin_plugins.inc.php 24 Oct 2004 16:55:09 -0000 1.45
@@ -347,8 +347,8 @@
if ($value === 'unset') {
/* Try and the default value for the config item */
$value = $cbag->get('default');
-
- /* Still, we don't have a value, try and get (bool)false - from an old plugin */
+
+ /* Still, we don't have a value, try and get (bool)false - from an old plugin */
if ($value === '') {
$value = $plugin->get_config($config_item, false, true);
}
@@ -559,7 +559,7 @@
/* Only play with the plugin if there is something to play with */
if ($bag->is_set('configuration')) {
- echo '<script type="text/javascript">location.href = \'' . $serendipity['baseurl'] . '?serendipity[adminModule]=plugins&serendipity[plugin_to_conf]=' . $inst . '\';</script>';
+ echo '<script type="text/javascript">location.href = \'' . $serendipity['baseurl'] . '?serendipity[adminModule]=plugins&serendipity[plugin_to_conf]=' . $inst . '\';</script>';
die();
}
}
|