Permalink
Browse files

show total clicks as clicked

Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
  • Loading branch information...
xh3n1 authored and samtuke committed Nov 14, 2018
1 parent 45b6c8a commit 5704cd580816241c1deb1d59534aaab9804bc2e2
Showing with 3 additions and 2 deletions.
  1. +3 −2 public_html/lists/admin/statsoverview.php
@@ -148,8 +148,9 @@
$perc = sprintf('%0.2f', $viewed[0] / ($totalSent - $totalBounced) * 100);
$ls->addColumn($element, '', !empty($viewed[0]) ? PageLink2('mviews&id='.$id, number_format($viewed[0])).'('. $perc .' %)' : '0');
$clicked = Sql_Fetch_Row_Query(sprintf('select count(userid) from %s where messageid = %d',
$tables['linktrack_uml_click'], $id));
$clicked = Sql_Fetch_Row_Query(sprintf('select sum(clicked) from %s where messageid= %d',
$tables['linktrack_ml'], $id));
// Number of Total Clicks
$element = ucfirst(s('Clicked'));

0 comments on commit 5704cd5

Please sign in to comment.