Skip to content

Commit

Permalink
Merge pull request thinkingreed-inc#271 from Sota-Miyamoto:fix_workfl…
Browse files Browse the repository at this point in the history
…ows_value_update

thinkingreed-inc#261 ワークフローで値を更新すると更新履歴がシステム管理者になる問題を修正
  • Loading branch information
Remicck committed Nov 24, 2021
1 parent 3125a7d commit e0fb287
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/com_vtiger_workflow/VTWorkflowUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ function loggedInUser() {
function revertUser() {
global $current_user;
if (count(self::$userStack) != 0) {
$current_user = array_pop(self::$userStack);
array_splice(self::$userStack, 1);
$current_user = self::$userStack[0];
} else {
$current_user = null;
}
Expand Down

0 comments on commit e0fb287

Please sign in to comment.