Changed to == on $setting->qr_code