fixing a syntax error in WebGUI/AdSpace.pm
This commit is contained in:
parent
c1ef15b838
commit
5874a16579
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ sub countClick {
|
|||
my $session = shift;
|
||||
my $id = shift;
|
||||
my ($url) = $session->db->quickArray("select url from advertisement where adId=?",[$id]);
|
||||
return $url if $self->session->env->requestNotViewed();
|
||||
return $url if $session->env->requestNotViewed();
|
||||
$session->db->write("update advertisement set clicks=clicks+1 where adId=?",[$id]);
|
||||
return $url;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue