]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1596628 - The param --since-db is not working for the report_ping script that...
authordklawren <dklawren@users.noreply.github.com>
Fri, 15 Nov 2019 15:01:51 +0000 (10:01 -0500)
committerGitHub <noreply@github.com>
Fri, 15 Nov 2019 15:01:51 +0000 (10:01 -0500)
Bugzilla/App/Command/report_ping.pm

index 61291343eb9e9fa5f91cdc1d89b369e7a92c79d0..c5d2d3042867ab39edbc562f3215772460c73a97 100644 (file)
@@ -66,7 +66,7 @@ sub run {
   };
 
   if ($since_db) {
-    my $current_ts = $dbh->selectrow_array('SELECT LOCALTIMESTAMP(0)');
+    $current_ts = $dbh->selectrow_array('SELECT LOCALTIMESTAMP(0)');
     $since
       = $dbh->selectrow_array(
       'SELECT last_ping_ts FROM report_ping WHERE class = ?',