From: Duck (Jakob Munih) Date: Thu, 1 Oct 2009 07:33:14 +0000 (+0200) Subject: Don't access protected data directly X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=38467013064039f5b5a333ab802c117d0780b5d4;p=horde.git Don't access protected data directly --- diff --git a/news/add.php b/news/add.php index cc6ea2309..2b6076fc2 100644 --- a/news/add.php +++ b/news/add.php @@ -595,8 +595,7 @@ if ($form->validate()) { } } - $form->_submit = _("Update"); - $form->_reset = _("Reset"); + $form->setButtons(_("Update"), _("Reset")); } // Add editor now to avoud JS error notifications no redirect