projects
/
pr0n
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2389df
)
Fix another typo, preventing uploads.
author
Steinar H. Gunderson
<sesse@debian.org>
Mon, 25 Dec 2006 20:35:18 +0000
(21:35 +0100)
committer
Steinar H. Gunderson
<sesse@debian.org>
Mon, 25 Dec 2006 20:35:18 +0000
(21:35 +0100)
perl/Sesse/pr0n/WebDAV.pm
patch
|
blob
|
history
diff --git
a/perl/Sesse/pr0n/WebDAV.pm
b/perl/Sesse/pr0n/WebDAV.pm
index 151370c99ad9f164b5d7c63df99f3a986a9d00af..9d23bb9668af0860e186f0a25ce3a2d1cb7dd559 100644
(file)
--- a/
perl/Sesse/pr0n/WebDAV.pm
+++ b/
perl/Sesse/pr0n/WebDAV.pm
@@
-580,7
+580,7
@@
EOF
$dbh->do('DELETE FROM images WHERE event=? AND filename=?;',
undef, $event, $filename)
or dberror($r, "Couldn't remove file");
- $dbh->do('UPDATE events SET last_update=CURRENT_TIMESTAMP WHERE
event
=?',
+ $dbh->do('UPDATE events SET last_update=CURRENT_TIMESTAMP WHERE
id
=?',
undef, $event)
or dberror($r, "Couldn't invalidate cache");
$r->status(200);