File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
administrator/components/com_admin/controllers Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class AdminControllerProfile extends JControllerForm
2727 * @param string $key The name of the key for the primary key.
2828 *
2929 * @return boolean
30- *
30+ *
3131 * @since 1.6
3232 */
3333 protected function allowEdit ($ data = array (), $ key = 'id ' )
@@ -36,15 +36,15 @@ protected function allowEdit($data = array(), $key = 'id')
3636 }
3737
3838 /**
39- * Overrides parent save method to check the submitted passwords match.
40- *
41- * @param string $key The name of the primary key of the URL variable.
42- * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
43- *
44- * @return boolean True if successful, false otherwise.
45- *
46- * @since 3.2
47- */
39+ * Overrides parent save method to check the submitted passwords match.
40+ *
41+ * @param string $key The name of the primary key of the URL variable.
42+ * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
43+ *
44+ * @return boolean True if successful, false otherwise.
45+ *
46+ * @since 3.2
47+ */
4848 public function save ($ key = null , $ urlVar = null )
4949 {
5050 $ this ->setRedirect (JRoute::_ ('index.php?option=com_admin&view=profile&layout=edit&id= ' . JFactory::getUser ()->id , false ));
You can’t perform that action at this time.
0 commit comments