Skip to content

Commit

Permalink
Fix possible fatal error on return value
Browse files Browse the repository at this point in the history
  • Loading branch information
SL-Gundam committed Jul 20, 2016
1 parent 38f7070 commit ba44964
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/config_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,8 @@ function ERP_custom_function_print_reporter_option_list( $p_sel_value )
{
foreach ( $t_user_ids AS $t_single_user_id )
{
if ( !user_exists( $t_single_user_id ) || empty( user_get_accessible_projects( $t_single_user_id ) ) )
$t_user_get_accessible_projects = user_get_accessible_projects( $t_single_user_id );
if ( !user_exists( $t_single_user_id ) || empty( $t_user_get_accessible_projects ) )
{
echo '<option value="' . $t_single_user_id . '" selected class="negative">' . plugin_lang_get( 'missing_user', 'EmailReporting' ) . ': ' . $t_single_user_id . '</option>';
}
Expand Down
1 change: 1 addition & 0 deletions doc/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Changelog:
Jul 2016 - EmailReporting-0.9.3-DEV
- Fix possible fatal error on return value

Jul 2016 - EmailReporting-0.9.2
- Fixed collation check issue with MantisBT 1.3.x
Expand Down

0 comments on commit ba44964

Please sign in to comment.