Version 5.0.0 beta 10
This commit is contained in:
1 parent
56979f8ee8
commit
264eeb97e0
325 files changed
+6442
-1849
No files matched your search
@@ -23,6 +23,7 @@ use IPS\DateTime;
|
||||
use IPS\Db;
|
||||
use IPS\Dispatcher\Controller;
|
||||
use IPS\Email;
|
||||
use IPS\Extensions\AccountSettingsAbstract;
|
||||
use IPS\Extensions\SSOAbstract;
|
||||
use IPS\File;
|
||||
use IPS\GeoLocation;
|
||||
@@ -122,7 +123,9 @@ class settings extends Controller
|
||||
{
|
||||
foreach( Application::allExtensions( 'core', 'AccountSettings', TRUE, 'core' ) as $ext )
|
||||
{
|
||||
if( $ext->getTab() == $area )
|
||||
/* @var AccountSettingsAbstract $ext */
|
||||
$tabName = $ext->getTab();
|
||||
if( $tabName == $area )
|
||||
{
|
||||
if( isset( Request::i()->action ) AND method_exists( $ext, Request::i()->action ) )
|
||||
{
|
||||
@@ -136,6 +139,12 @@ class settings extends Controller
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* If we have no output, then we couldn't find the tab */
|
||||
if( !isset( $output ) )
|
||||
{
|
||||
Output::i()->error( 'node_error', '2C122/2', 404 );
|
||||
}
|
||||
|
||||
/* Display */
|
||||
Output::i()->title = Member::loggedIn()->language()->addToStack('settings');
|
||||
|
||||
Reference in new issue
Block a user