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
(parent:
98df934
)
Better condition
author
Joey Schulze
<joey@infodrom.org>
Thu, 21 Sep 2006 05:58:29 +0000
(
05:58
+0000)
committer
Joey Schulze
<joey@infodrom.org>
Thu, 21 Sep 2006 05:58:29 +0000
(
05:58
+0000)
src/Infodrom/logbook/update.wml
patch
|
blob
|
history
diff --git
a/src/Infodrom/logbook/update.wml
b/src/Infodrom/logbook/update.wml
index
a2c1afe
..
67053f7
100644
(file)
--- a/
src/Infodrom/logbook/update.wml
+++ b/
src/Infodrom/logbook/update.wml
@@
-41,7
+41,7
@@
}
// printf ("<pre>\n%s\n</pre>\n", $query);
$sth = pg_exec ($dbh, $query) or die("Datenbank-Abfrage!");
- if (!
isset($oid
)) {
+ if (!
($oid > 0
)) {
$oid = pg_getlastoid ($sth);
}
?>