bug fixes

This commit is contained in:
Dennis Eichhorn 2024-05-12 00:06:28 +00:00
parent d1f7a0343c
commit c5b4b69f5d
5 changed files with 7 additions and 7 deletions

View File

@ -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.'

View File

@ -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();

View File

@ -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;
}
}

View File

@ -68,7 +68,7 @@ echo $this->data['nav']->render(); ?>
<tbody>
<?php $count = 0; foreach ($items as $key => $value) : ++$count;
$url = UriFactory::build('{/base}/warehouse/labeling/item?id=' . $value->id);
$image = $value->getFileByTypeName('item_profile_image');
$image = $value->getFileByTagName('profile_image');
?>
<tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><img alt="<?= $this->getHtml('IMG_alt_item'); ?>" width="30" loading="lazy" class="item-image"

View File

@ -38,9 +38,9 @@ $inlineImage = 'data:' . $imageType . ';base64,' . $imageBase64;
<div class="row">
<div class="col-xs-12 col-md-6">
<div class="portlet">
<section class="portlet">
<img style="width: 100%" src="<?php echo $inlineImage; ?>" alt="Inline Image">
</div>
</section>
</div>
<!--