]> lifelog.hopto.org Git - LifeLog.git/commitdiff
forgot uncomment to coment, dah!
authorWill Budic <redacted>
Wed, 30 Oct 2019 05:27:09 +0000 (16:27 +1100)
committerWill Budic <redacted>
Wed, 30 Oct 2019 05:27:09 +0000 (16:27 +1100)
htdocs/cgi-bin/main.cgi

index 1ce2d517927be2fa94e10cf373e3f4f167be05ec..34c55264d263d49d1feb91b58a4ba6df1ab6eef9 100755 (executable)
@@ -292,7 +292,7 @@ qq(<form id="frm_log" action="remove.cgi" onSubmit="return formDelValidation();"
 ###############
     #
     # Uncomment bellow to see main query statement issued!
-     print $cgi->pre("### -> ".$stmt);
+    #print $cgi->pre("### -> ".$stmt);
     #
     my $tfId      = 0;
     my $id        = 0;
@@ -331,7 +331,8 @@ qq(<form id="frm_log" action="remove.cgi" onSubmit="return formDelValidation();"
     if(index ($stmt, 'rowid <=') < 1 && !$prm_vc  && !$prm_xc && !$rs_keys && !$rs_dat_from){
 
         $stmt = "SELECT rowid, ID_CAT, DATE, LOG, AMOUNT, AFLAG, RTF, STICKY FROM LOG WHERE STICKY != 1 ORDER BY DATE DESC, rowid DESC;";
-      print $cgi->pre("###2 -> ".$stmt);
+        #uncomment
+        #print $cgi->pre("###2 -> ".$stmt);
         $st = $db->prepare($stmt);
         $rv = $st->execute() or die or die "<p>Error->" & $DBI::errstri & "</p>";
         if ( $rv < 0 ) {