Software Error

Mark Ingram mark.ingram at nexsan.com
Wed Jul 23 15:23:11 UTC 2003


Hi,

im getting the following error:

Insecure dependency in parameter 1 of DBI::db=HASH(0x8655488)->prepare
method call while running with -T switch at Bugzilla/DB.pm line 64.

when trying to execute the following code in post_bug.cgi:

for (my $i = 0; $i <= $#client_cc; $i++) {
    SendSQL("INSERT INTO client_cc (bug_id, who) VALUES ($id,
$client_cc[$i])");
}

@client_cc contains a list of email addresses, the table client_cc is
identical to the table cc except that the who field is a varchar, not a
medium int.

Ive checked the value of $client_cc[$i] just above the SendSQL and it is my
email address, so i dont see what is going wrong?

What am i doing wrong?



Best Regards,

Mark Ingram
Software Engineer
Nexsan Technologies
33 - 35 Parker Centre
Mansfield Road
Derby
DE21 4SZ




More information about the developers mailing list