projects
/
infodrom.org
/
service.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ad5a562
)
Damn, I forgot another occurrence of the hardcoded table name sales
author
Joey Schulze
<joey@infodrom.org>
Fri, 1 Feb 2002 09:57:32 +0000
(09:57 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Fri, 1 Feb 2002 09:57:32 +0000
(09:57 +0000)
src/InfoCon/buch/infocon
patch
|
blob
|
history
diff --git
a/src/InfoCon/buch/infocon
b/src/InfoCon/buch/infocon
index
8feed84
..
c634977
100755
(executable)
--- a/
src/InfoCon/buch/infocon
+++ b/
src/InfoCon/buch/infocon
@@
-246,7
+246,7
@@
sub buchung_input
$input[6] *= -1 if ($input[6] > 0);
}
$input[6] *= -1 if ($input[6] > 0);
}
- $query = sprintf ("INSERT INTO
sales
VALUES (%d,'%s','%s','%s',%8.2f,%8.2f,%8.2f,%d)",
+ $query = sprintf ("INSERT INTO
$table
VALUES (%d,'%s','%s','%s',%8.2f,%8.2f,%8.2f,%d)",
&get_next_nr(), &date_to_string($input[0]), $input[1], $input[2], $input[4],
$input[5], $input[6], $input[7]);
$sth = $dbh->do($query);
&get_next_nr(), &date_to_string($input[0]), $input[1], $input[2], $input[4],
$input[5], $input[6], $input[7]);
$sth = $dbh->do($query);