QR code padding


  • Default avatar
    bossmanmedia    
     3 years ago
    0

    Hi Seyi,

    I'm having a slight issue with the QR code in the profile. I have noticed that when I add a QR code to a profile in the editor and save it, the padding field goes blank. It seems as though it is not saving the padding preferences for the QR code. The padding saves fine on the other items.

    Can you please help? I can send you the image of the coupon if that would help.

    Kind Regards,
    Matt
  • Your avatar
    seyi    
     3 years ago
    0

    Hello Matt,

    Yes, thanks for reporting the issue. Here is the fix:
    in www/plugins/awocoupon/awotracker/awotracker.php, around line 120 is this:
    <?php
        
    'pad'=>$data['imgplugin'][$this->key]['qrcode']['align']=='C' '' $data['imgplugin'][$this->key]['padding'],
    ?>


    change it to this
    <?php
        
    'pad'=>$data['imgplugin'][$this->key]['qrcode']['align']=='C' '' $data['imgplugin'][$this->key]['qrcode']['padding'],
    ?>


    That should solve the issue.
  • Default avatar
    bossmanmedia    
     3 years ago
    0

    Great!

    That was it.

    Thanks for your quick response.

    Cheers,
    Matt