Fix admin controller l() error and redundant CI runs

Add l() wrapper to AdminSimpleWithdrawalController so PS8 routing does
not throw UndefinedMethodError; restrict build workflow to branch pushes
only so tag pushes no longer trigger a redundant build run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Arne Weiss
2026-06-01 08:26:10 +02:00
parent 8ed50fa8e6
commit b742a833d1
2 changed files with 11 additions and 0 deletions
+2
View File
@@ -2,6 +2,8 @@ name: Build
on:
push:
branches:
- '**'
pull_request:
jobs:
@@ -60,6 +60,15 @@ class AdminSimpleWithdrawalController extends ModuleAdminController
];
}
protected function l($string, $class = null, $addslashes = false, $htmlentities = true)
{
if ($this->module) {
return $this->module->l($string, 'AdminSimpleWithdrawalController');
}
return $string;
}
public function renderScopeLabel($value, $row)
{
if ($value === 'partial') {