Skip to content

Commit

Permalink
Call config_get_global with right number of parameters
Browse files Browse the repository at this point in the history
Issue #23754
  • Loading branch information
atrol committed Jan 3, 2018
1 parent a123429 commit a532342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/move_attachments.php
Expand Up @@ -70,7 +70,7 @@ function move_attachments_to_db( $p_type, $p_projects ) {
# Project upload path
$t_upload_path = project_get_field( $t_project, 'file_path' );
if( is_blank( $t_upload_path ) ) {
$t_upload_path = config_get_global( 'absolute_path_default_upload_folder', '', ALL_USERS, $t_project );
$t_upload_path = config_get_global( 'absolute_path_default_upload_folder' );
}

if( is_blank( $t_upload_path )
Expand Down

0 comments on commit a532342

Please sign in to comment.