diff options
Diffstat (limited to 'preferences.php')
| -rw-r--r-- | preferences.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/preferences.php b/preferences.php index 7e43d6b..cecf77d 100644 --- a/preferences.php +++ b/preferences.php @@ -57,7 +57,9 @@ if( $gBitSystem->isFeatureActive( 'custom_user_fields' )) { // include preferences settings from other packages - these will be included as individual tabs $includeFiles = $gBitSystem->getIncludeFiles( 'user_preferences_inc.php', 'user_preferences_inc.tpl' ); foreach( $includeFiles as $file ) { - require_once( $file['php'] ); + if( !empty( $file['php'] ) && is_file( $file['php'] ) ) { + require_once( $file['php'] ); + } } $gBitSmarty->assign( 'includFiles', $includeFiles ); |
