summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-05-24 09:44:19 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-05-24 09:44:19 +0000
commit69362e4f6c5806ce3a810bbc1c91957dbf10f003 (patch)
treeca61cf60f8ea4c7c57978b863c3a15c9c7fa67e6
parent1adef0521562c283bcdd2fb641914fd3a6792a4c (diff)
- Fix possible error on form submission (#1486103)
git-svn-id: https://svn.roundcube.net/trunk@3656 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--plugins/new_user_dialog/new_user_dialog.php2
-rw-r--r--plugins/new_user_dialog/package.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/new_user_dialog/new_user_dialog.php b/plugins/new_user_dialog/new_user_dialog.php
index 57ceba76d..71b39214a 100644
--- a/plugins/new_user_dialog/new_user_dialog.php
+++ b/plugins/new_user_dialog/new_user_dialog.php
@@ -17,11 +17,11 @@ class new_user_dialog extends rcube_plugin
function init()
{
$this->add_hook('create_identity', array($this, 'create_identity'));
+ $this->register_action('plugin.newusersave', array($this, 'save_data'));
// register additional hooks if session flag is set
if ($_SESSION['plugin.newuserdialog']) {
$this->add_hook('render_page', array($this, 'render_page'));
- $this->register_action('plugin.newusersave', array($this, 'save_data'));
}
}
diff --git a/plugins/new_user_dialog/package.xml b/plugins/new_user_dialog/package.xml
index cd5b86f06..d4b30deaf 100644
--- a/plugins/new_user_dialog/package.xml
+++ b/plugins/new_user_dialog/package.xml
@@ -26,6 +26,7 @@
<license uri="http://www.gnu.org/licenses/gpl-2.0.html">GNU GPLv2</license>
<notes>
- Add overlay box only to mail task main template
+- Fix possible error on form submission (#1486103)
</notes>
<contents>
<dir baseinstalldir="/" name="/">