From b1c1c54a448b5895e8d2708c56546bc38c4d7a6b Mon Sep 17 00:00:00 2001 From: Hyojin Ahn Date: Sun, 14 Jun 2026 01:55:56 -0400 Subject: [PATCH] v1.3.1 - [SCHEDULER] run erp bug fix --- public_html/lib/runErpOutbox.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public_html/lib/runErpOutbox.php b/public_html/lib/runErpOutbox.php index 91dbc98..02f2370 100644 --- a/public_html/lib/runErpOutbox.php +++ b/public_html/lib/runErpOutbox.php @@ -20,7 +20,7 @@ $mode = (PHP_SAPI === 'cli') ? "SHELL" : "WEB"; if ($mode == "SHELL") { $GETDIR = dirname(__DIR__); $ENT = "\n"; - + putenv("DOCUMENT_ROOT=" . $GETDIR); } else { $GETDIR = getenv("DOCUMENT_ROOT"); $ENT = "
"; @@ -68,8 +68,6 @@ while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) { $eo_id = $row['eo_id']; - echo "[$entity:$eo_id] [$method:$url] - "; - /////////////////////////////////////////////////// // LOCK /////////////////////////////////////////////////// @@ -130,7 +128,7 @@ while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) { "; $jdb->nQuery($qry_skip, "skip update error"); - continue; + continue 2; } // PATCH @@ -153,6 +151,8 @@ while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) { ); } + echo "[$entity:$eo_id] [$method:$url] - "; + /////////////////////////////////////////////////// // SAVE REQUEST JSON ///////////////////////////////////////////////////