*

BabyDunk

  • ****
  • 161 posts
syntax error according to phpdesigner
« on: June 26, 2016, 05:01:49 AM »

in status_change.php on line 21 their is a syntax error being reported by phpdesigner editor

Code: [Select]
//if status is "Sold" status, set item to expired
      if($status['status_sold'] == 1) {
        $today = date('Y-m-d', strtotime(' -1 day', time()));
        ModelLS::newInstance()->itemToExpired(Params::getParam('item_id']) $today);
        osc_add_flash_ok_message( __('You have selected "Sold" status type that means your listing was set to expired. It will not be visible in front-office anymore.', 'backoffice_manager'));
      }

i dont use this option but just thought i'd report it back

All the Best
Chris
I Am A Noob But I Am Here To Learn.
Please be patient ;) ;D

*

MB Themes

Re: syntax error according to phpdesigner
« Reply #1 on: June 26, 2016, 06:58:57 PM »
@BabyDunk
Ok, but what is problem in this code? :)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

BabyDunk

  • ****
  • 161 posts
Re: syntax error according to phpdesigner
« Reply #2 on: June 26, 2016, 07:25:49 PM »
i couldnt tell you lol

it just shows as a syntax error and i thought i'd bring it to your attention .

Your the Boss ;)
Chris
« Last Edit: June 26, 2016, 07:31:56 PM by BabyDunk »
I Am A Noob But I Am Here To Learn.
Please be patient ;) ;D