projects
/
clearscm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cf7873
)
Fixed RecordHit
author
Andrew DeFaria
<Andrew@DeFaria.com>
Wed, 18 Aug 2021 16:55:29 +0000
(09:55 -0700)
committer
Andrew DeFaria
<Andrew@DeFaria.com>
Wed, 18 Aug 2021 16:55:29 +0000
(09:55 -0700)
maps/lib/MAPS.pm
patch
|
blob
|
history
diff --git
a/maps/lib/MAPS.pm
b/maps/lib/MAPS.pm
index
73c0d4d
..
b66b64e
100644
(file)
--- a/
maps/lib/MAPS.pm
+++ b/
maps/lib/MAPS.pm
@@
-1071,13
+1071,9
@@
sub RecordHit(%) {
my $current_date = UnixDatetime2SQLDatetime(scalar(localtime));
my $table = 'list';
- my $condition = "userid='
rec{userid} and type=$rec{type} and sequence='$rec{sequence}
";
+ my $condition = "userid='
$rec{userid}' and type='$rec{type}' and sequence='$rec{sequence}'
";
- return $db->modify(
- table => $table,
- condition => $condition,
- %rec,
- );
+ return $db->modify($table, $condition, %rec);
} # RecordHit
sub ResequenceList(%) {