www/crontasks.php

branch
stable
changeset 387
541503502b1b
parent 379
2aa6addc1853
child 393
5020feba78ec
--- a/www/crontasks.php	Sun May 26 20:45:01 2019 +0200
+++ b/www/crontasks.php	Thu May 30 23:18:48 2019 +0200
@@ -519,7 +519,7 @@
      */
     if ($savethis == 1) {
     	$sql2 = "UPDATE products SET inventory_reduced=".$row['inventory_reduced']." WHERE uuid = '" . $row['uuid'] . "';";
-//    	syslog(LOG_NOTICE, $sql2);
+    	syslog(LOG_NOTICE, $sql2);
     	$result2 = mysqli_query($connect, $sql2);
     	$ar = mysqli_affected_rows($connect);
 	if ($ar != 1) {

mercurial