developer question about file bug_api.php

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
shark
Posts: 43
Joined: 12 Jul 2005, 22:23

developer question about file bug_api.php

Post by shark »

line 576:

Code: Select all

$t_new_diskfile_name = $t_file_path . file_generate_unique_name( 'bug-' . $p_file_name, $t_file_path );
I cannot find where $p_file_name is created, or initialized, to anything. Anyone have any ideas? I'm thinking it might need to be either

Code: Select all

$result['filename']
or

Code: Select all

$t_bug_file['filename']
instead. Any thoughts appreciated.
shark
Posts: 43
Joined: 12 Jul 2005, 22:23

Post by shark »

penny for your thoughts.
Post Reply