Explorar o código

fixed update table in Cron update perms

Piotr Labudda %!s(int64=8) %!d(string=hai) anos
pai
achega
1db1206c35
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SE/se-lib/Route/Cron.php

+ 1 - 1
SE/se-lib/Route/Cron.php

@@ -227,7 +227,7 @@ class Route_Cron extends RouteBase {
 		if (empty($groupsNetwork)) throw new Exception("Group {$idGroup} not found");
 		foreach ($groupsNetwork as $vGroup) {
 			echo "Will try to update table {$table} set A_CLASSIFIED='{$vGroup->cn}', A_ADM_COMPANY='{$vGroup->cn}' ;" . "\n";
-			DB::getPDO()->execSql("update table `{$table}` set `A_CLASSIFIED`='{$vGroup->cn}', `A_ADM_COMPANY`='{$vGroup->cn}' ");
+			DB::getPDO()->execSql("update `{$table}` set `A_CLASSIFIED`='{$vGroup->cn}', `A_ADM_COMPANY`='{$vGroup->cn}' ");
 		}
 		echo "DONE";
 	}