projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f42b942
)
Ein Fehler an dieser Stelle ist nicht schlimm, da er auch dadurch zustande gekommen...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 6 Jun 2007 13:21:39 +0000
(13:21 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 6 Jun 2007 13:21:39 +0000
(13:21 +0000)
SL/User.pm
patch
|
blob
|
history
diff --git
a/SL/User.pm
b/SL/User.pm
index
d2e914f
..
830544b
100644
(file)
--- a/
SL/User.pm
+++ b/
SL/User.pm
@@
-966,9
+966,10
@@
sub update2_available {
$query = qq|SELECT tag FROM schema_info|;
$sth = $dbh->prepare($query);
- $sth->execute() || $form->dberror($query);
- while (($tag) = $sth->fetchrow_array()) {
- $controls->{$tag}->{"applied"} = 1 if (defined($controls->{$tag}));
+ if ($sth->execute()) {
+ while (($tag) = $sth->fetchrow_array()) {
+ $controls->{$tag}->{"applied"} = 1 if (defined($controls->{$tag}));
+ }
}
$sth->finish();
$dbh->disconnect();