Skip to content

Commit

Permalink
Fixed bug, $fieldname2 was concatenating in insert (changed ".=" to "=")
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@100 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Mar 21, 2003
1 parent 711ccc0 commit 031f3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/dataentry.php
Expand Up @@ -87,7 +87,7 @@
elseif ($irow['type'] == "O")
{
$fieldname = "{$irow['sid']}X{$irow['gid']}X{$irow['qid']}";
$fieldname2 .= $fieldname . "comment";
$fieldname2 = $fieldname . "comment";
$col_name .= "$fieldname, \n$fieldname2, \n";
if (get_magic_quotes_gpc())
{$insertqr .= "'" . $$fieldname . "', \n'" . $$fieldname2 . "', \n";}
Expand Down

0 comments on commit 031f3b3

Please sign in to comment.