diff --git a/core/class/template.class.php b/core/class/template.class.php index 3420371..4f06acd 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -269,11 +269,16 @@ class template { /** * Ouvre un formulaire protégé par CSRF * @param string $id Id du formulaire + * @param string $action action du formulaire * @return string */ - public static function formOpen($id) { + public static function formOpen($id, $action = '') { // Ouverture formulaire - $html = '