Skip to content

Commit f2f9464

Browse files
committed
fix: update watcher script_id assignment to remove prefix for consistency
1 parent 72a14a7 commit f2f9464

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ProcessMaker/Jobs/ImportProcess.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ protected function watcherScriptsToSave($screen)
990990
$watcherList = [];
991991
foreach ($screen->watchers as $watcher) {
992992
$script = $watcher->script;
993-
$watcher->script_id = $script->id;
993+
$watcher->script_id = str_replace(['script-', 'data_source-'], '', $script->id);
994994
$watcher->script->title = $script->title;
995995
$watcherList[] = $watcher;
996996
}

0 commit comments

Comments
 (0)