diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index adb8716..75cb759 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -9,5 +9,5 @@ jobs: - uses: actions/first-interaction@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: 'Thank you for createing this issue. We will check it as soon as possible.' + issue-message: 'Thank you for creating this issue. We will check it as soon as possible.' pr-message: 'Thank you for your pull request. We will check it as soon as possible.' diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 9303e30..e673673 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -91,10 +91,10 @@ final class BackendController extends Controller ->with('l11n') ->with('l11n/type') ->with('files') - ->with('files/types') + ->with('files/tags') ->where('l11n/language', $response->header->l11n->language) ->where('l11n/type/title', ['name1', 'name2'], 'IN') - ->where('files/types/name', 'item_profile_image') + ->where('files/tags/name', 'profile_image') ->limit(50) ->executeGetArray(); diff --git a/Models/Guidelines/GS1Datamatrix.php b/Models/Guidelines/GS1Datamatrix.php index 5867a86..caa502e 100644 --- a/Models/Guidelines/GS1Datamatrix.php +++ b/Models/Guidelines/GS1Datamatrix.php @@ -564,7 +564,7 @@ class GS1Datamatrix } foreach ($this->data as $ai => $value) { - if (\preg_match(self::DEFINITIONS[$ai]['pattern'], $ai . $value) === false) { + if (\preg_match(self::DEFINITIONS[$ai]['pattern'], $ai . $value) !== 1) { return false; } } diff --git a/Theme/Backend/item-list.tpl.php b/Theme/Backend/item-list.tpl.php index e2350c5..8faacb5 100644 --- a/Theme/Backend/item-list.tpl.php +++ b/Theme/Backend/item-list.tpl.php @@ -68,7 +68,7 @@ echo $this->data['nav']->render(); ?>
$value) : ++$count; $url = UriFactory::build('{/base}/warehouse/labeling/item?id=' . $value->id); - $image = $value->getFileByTypeName('item_profile_image'); + $image = $value->getFileByTagName('profile_image'); ?>