Skip to content

Commit

Permalink
Remove access of undefined variable $t_category_table
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Sep 2, 2014
1 parent fc90428 commit eb1416f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/install_helper_functions_api.php
Expand Up @@ -202,7 +202,7 @@ function install_category_migrate() {
$t_query = 'INSERT INTO {category} ( name, project_id, user_id ) VALUES ( ' .
db_param() . ', ' . db_param() . ', ' . db_param() . ' )';
db_query_bound( $t_query, array( $t_name, $t_project_id, $t_user_id ) );
$t_category_id = db_insert_id( $t_category_table );
$t_category_id = db_insert_id( db_get_table( 'category' ) );
$t_inserted[$t_lower_name] = $t_category_id;
} else {
$t_category_id = $t_inserted[$t_lower_name];
Expand Down

0 comments on commit eb1416f

Please sign in to comment.