$actReq = $requestInstance->getRequestElement('action');
// Do we have a "action" parameter set?
- if ((is_string($actReq)) && (!empty($actReq))) {
+ if (!empty($actReq)) {
// Then use it with prefix
$this->actionName = StringUtils::convertDashesToUnderscores($applicationInstance->getAppShortName()) . '_login_' . $actReq;
- } // END - if
+ }
// Get a resolver
$actionResolver = HtmlActionResolver::createHtmlActionResolver($this->actionName);