*

Anonymous

  • ****
  • 200 posts
BUG- url along with identifier
« on: September 03, 2018, 11:10:57 AM »
hi!
i have notice a bug in plugin..
when user updates their business profile in dashboard section!

url doesn't reflect the way it should be, instead it reflects url along with identifier,

localhost.com/companies/demo

but after updating it becomes localhost.com/demo37       (here 37 is  fk_i_user_id)


fk_i_user_id = 37
s_identifier = demo

it becomes=   demo37

localhost.com/demo37 

when update profile, then it returns in it origial form...
localhost.com/companies/demo
« Last Edit: September 03, 2018, 11:13:02 AM by Anonymous »
Innovation is change that unlocks new value  ;)

Marked as best answer by frosticek on September 03, 2018, 04:04:49 PM
*

reflexus

  • ****
  • 146 posts
Re: BUG- url along with identifier
« Reply #1 on: September 03, 2018, 03:57:30 PM »
In file:
oc-content/plugins/business_profile/model/ModelBPR.php

Find:

Code: [Select]
$this->dao->select('s_identifier');
Replace with:

Code: [Select]
$this->dao->select();

*

Locan

  • ****
  • 166 posts
Re: BUG- url along with identifier
« Reply #2 on: September 03, 2018, 05:18:25 PM »
does it fixed in 1.0.3, i can't find it
Quote
$this->dao->select('s_identifier');
in latest version