From 32283a1ab409784b63c414fd9a64346c4b2f0a53 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Sun, 26 Sep 2010 23:53:45 +0200 Subject: [PATCH] Fix UFBF_AdminArea MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- include/ufbuilder.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/ufbuilder.inc.php b/include/ufbuilder.inc.php index 55de5e5..3d50bff 100644 --- a/include/ufbuilder.inc.php +++ b/include/ufbuilder.inc.php @@ -777,14 +777,14 @@ class UFBF_Country extends UFBF_Mixed // }}} // {{{ class UFBF_AdminArea -class UFBF_AdminArea extends UFBF_Mixed +class UFBF_AdminArea extends UFBF_Index { protected $direnum = DirEnum::ADMINAREAS; protected $onlycurrentfield; - public function __construct($envfieldtext, $envfieldindex, $formtext = '', $onlycurrentfield = 'only_current') + public function __construct($envfield, $formtext = '', $onlycurrentfield = 'only_current') { - parent::__construct($envfieldtext, $envfieldindex, $formtext); + parent::__construct($envfield, $formtext); $this->onlycurrentfield = $onlycurrentfield; } -- 2.1.4