www/crontasks.php

changeset 379
2aa6addc1853
parent 356
36c72e368948
child 393
5020feba78ec
--- a/www/crontasks.php	Sun May 26 21:59:18 2019 +0200
+++ b/www/crontasks.php	Tue May 28 20:54:39 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