X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fprofile%2Fdecos.inc.php;h=e96e519cdf822d54d7ce0469dce590036647f65e;hb=2649ac0cc354d7281e14776148545882718d0a9f;hp=5c413163a9ba2a32def95bd854f04fa39df39e72;hpb=12ddbc2037b16496dfb9d91c4f7091850146fcde;p=platal.git diff --git a/modules/profile/decos.inc.php b/modules/profile/decos.inc.php index 5c41316..e96e519 100644 --- a/modules/profile/decos.inc.php +++ b/modules/profile/decos.inc.php @@ -1,6 +1,6 @@ orig[$field]; @@ -94,7 +94,7 @@ class ProfilePageDecos extends ProfilePage { protected $pg_template = 'profile/deco.tpl'; - public function __construct(PlWizard &$wiz) + public function __construct(PlWizard $wiz) { parent::__construct($wiz); $this->settings['medals'] = new ProfileSettingDeco(); @@ -121,7 +121,7 @@ class ProfilePageDecos extends ProfilePage } } - public function _prepare(PlPage &$page, $id) + public function _prepare(PlPage $page, $id) { $res = XDB::iterator('SELECT *, FIND_IN_SET(\'validation\', flags) AS validate FROM profile_medal_enum