]> lifelog.hopto.org Git - LifeLog.git/commitdiff
fix. on cat remov causing error.
authorWill Budic <redacted>
Thu, 27 Feb 2020 06:43:40 +0000 (17:43 +1100)
committerWill Budic <redacted>
Thu, 27 Feb 2020 06:43:40 +0000 (17:43 +1100)
htdocs/cgi-bin/config.cgi

index b207876977b202515ddc4a472157c03d6b3dae13..635696b7675a54e5e79438f893d3a5be942f3761 100755 (executable)
@@ -579,7 +579,7 @@ elsif ($change == 1){
            $d->execute();
 
             while(my @r = $d->fetchrow_array()) {
-                     $s = "  LOG SET ID_CAT=1 WHERE rowid=".$r[0].";";
+                     $s = "UPDATE LOG SET ID_CAT=1 WHERE rowid=".$r[0].";";
                      $d = $db->prepare($s);
                      $d->execute();
              }