Page 1 of 1

help on update of bug !!

Posted: 07 May 2007, 11:07
by PHPycho
Hello forums !!
I need your help.
i added two new fields on "mantis_bug_text_table"
say field1 and field2.
I successfully displayed the values by using "core/bug_api.php"
(inserting

Code: Select all

var $field1 = ''; var $field2 = ''
) and bug_view_advanced_page.php (using

Code: Select all

$t_bug->field1 & $t_bug->field2
variables)

Now i am getting problem in inserting and updating, I need to what the required steps ???
Thanks in advance to all of you

Posted: 07 May 2007, 21:17
by deboutv
Hi,

You need to update the SQL queries in the core/bug_api.php file.

PS: It is not a good idea to change the table (insert fields into the table). A better way to do that is to add a new table.