Version 4.5.0
This commit is contained in:
1 parent
1a0c7fd3c2
commit
f79dcf067a
3791 files changed
+248032
-76372
No files matched your search
@@ -1,7 +1,7 @@
|
||||
//<?php
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
exit;
|
||||
}
|
||||
@@ -36,7 +36,7 @@ class cms_hook_InternalUrl extends _HOOK_CLASS_
|
||||
$paramsToSet[ $k ] = $v;
|
||||
}
|
||||
}
|
||||
if ( count( $paramsToSet ) )
|
||||
if ( \count( $paramsToSet ) )
|
||||
{
|
||||
$correctUrl = $correctUrl->setQueryString( $paramsToSet );
|
||||
}
|
||||
@@ -47,7 +47,7 @@ class cms_hook_InternalUrl extends _HOOK_CLASS_
|
||||
/* Couldn't find one? Don't accept responsibility */
|
||||
catch ( \OutOfRangeException $e ){}
|
||||
}
|
||||
|
||||
|
||||
/* Return */
|
||||
return $return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user