Skip to content

Commit

Permalink
Missed one
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Jan 29, 2014
1 parent 580590b commit a2f068e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/AssetsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ public function getQrCode($assetId = null)
{
$settings = Setting::getSettings();

if ($settings->qr_code === '1') {
if ($settings->qr_code == '1') {
$asset = Asset::find($assetId);
if (isset($asset->id)) {
$renderer = new \BaconQrCode\Renderer\Image\Png;
Expand Down

0 comments on commit a2f068e

Please sign in to comment.