We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18cabbb commit b6161c9Copy full SHA for b6161c9
lib/Horde/Registry.php
@@ -2097,6 +2097,10 @@ public function getAppDrivers($app, $prefix)
2097
*/
2098
public function getInitialPage($app = null)
2099
{
2100
+ if (empty($app)) {
2101
+ $app = $this->getApp();
2102
+ }
2103
+
2104
try {
2105
if (($url = $this->callAppMethod($app, 'getInitialPage')) !== null) {
2106
return $url;
@@ -2110,7 +2114,7 @@ public function getInitialPage($app = null)
2110
2114
2111
2115
throw new Horde_Exception(sprintf(
2112
2116
Horde_Core_Translation::t('"%s" is not configured in the Horde Registry.'),
2113
- is_null($app) ? $this->getApp() : $app
2117
+ $app
2118
));
2119
}
2120
0 commit comments