X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fclasses%2Fmain%2Ffilter%2Fupdate%2Fclass_UserUpdateFilter.php;fp=inc%2Fclasses%2Fmain%2Ffilter%2Fupdate%2Fclass_UserUpdateFilter.php;h=69c62d80a81ce2b9d33bc9043e77df3340267f59;hb=12dbc1af8f0bc2981711b17c7c955f270c440b35;hp=be0c9a8bf7f74cd5cee0f919c68c55728c87f99d;hpb=663356790b69b73605e383989654ed51bf1b22e8;p=hub.git diff --git a/inc/classes/main/filter/update/class_UserUpdateFilter.php b/inc/classes/main/filter/update/class_UserUpdateFilter.php index be0c9a8bf..69c62d80a 100644 --- a/inc/classes/main/filter/update/class_UserUpdateFilter.php +++ b/inc/classes/main/filter/update/class_UserUpdateFilter.php @@ -22,7 +22,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class UserUpdateFilter extends BaseFrameworkSystem implements Filterable { +class UserUpdateFilter extends BaseFilter implements Filterable { /** * Protected constructor * @@ -36,12 +36,16 @@ class UserUpdateFilter extends BaseFrameworkSystem implements Filterable { /** * Creates an instance of this filter class * - * @return $filterInstance An instance of this filter class + * @param $controllerInstance An instance of a Controller class + * @return $filterInstance An instance of this filter class */ - public final static function createUserUpdateFilter () { + public final static function createUserUpdateFilter (Controller $controllerInstance) { // Get a new instance $filterInstance = new UserUpdateFilter(); + // Set the controller + $filterInstance->setControllerInstance($controllerInstance); + // Return the instance return $filterInstance; }