Update base.class.php

Double checked $action instead of $action and $method