We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 580590b commit a2f068eCopy full SHA for a2f068e
app/controllers/admin/AssetsController.php
@@ -560,7 +560,7 @@ public function getQrCode($assetId = null)
560
{
561
$settings = Setting::getSettings();
562
563
- if ($settings->qr_code === '1') {
+ if ($settings->qr_code == '1') {
564
$asset = Asset::find($assetId);
565
if (isset($asset->id)) {
566
$renderer = new \BaconQrCode\Renderer\Image\Png;
0 commit comments