Skip to content

Commit

Permalink
Initialize $t_status to prevent PHP notice
Browse files Browse the repository at this point in the history
This could happen if the schema update specifies an invalid function
name.
  • Loading branch information
dregad committed Sep 29, 2017
1 parent fc93a7c commit b04bc13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/plugin_api.php
Expand Up @@ -710,6 +710,7 @@ function plugin_upgrade( MantisPlugin $p_plugin ) {
array( $t_dict, $t_schema[$i][0] ),
$t_schema[$i][1]
);
$t_status = false;
}

if( $t_sqlarray ) {
Expand Down

0 comments on commit b04bc13

Please sign in to comment.