summaryrefslogtreecommitdiff
path: root/lib/VNDB/DB/Misc.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-12-12 17:12:57 +0100
committerYorhel <git@yorhel.nl>2008-12-12 17:12:57 +0100
commita416eb118824fd4aea5e5acf06e81a8c36f7f0c8 (patch)
tree1ac10f3c27a0fde3c18991991e03612c3502fb3d /lib/VNDB/DB/Misc.pm
parente2efaa47382a54efae24cba9de5919231509ab83 (diff)
Homepage
No idea why, but it looks like a mess :-(
Diffstat (limited to 'lib/VNDB/DB/Misc.pm')
-rw-r--r--lib/VNDB/DB/Misc.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/VNDB/DB/Misc.pm b/lib/VNDB/DB/Misc.pm
index 828d5281..530f7d5b 100644
--- a/lib/VNDB/DB/Misc.pm
+++ b/lib/VNDB/DB/Misc.pm
@@ -77,7 +77,8 @@ sub dbItemInsert {
}
-# Options: type, iid, uid, auto, hidden, edit, page, results
+# Options: type, iid, uid, auto, hidden, edit, page, results, what
+# what: item user
sub dbRevisionGet {
my($self, %o) = @_;
$o{results} ||= 10;
@@ -85,6 +86,7 @@ sub dbRevisionGet {
$o{auto} ||= 0; # 0:show, -1:only, 1:hide
$o{hidden} ||= 0;
$o{edit} ||= 0; # 0:both, -1:new, 1:edits
+ $o{what} ||= '';
my %where = (
$o{type} ? (