Questions and Answers

How do I collect points?

  • +4
    Chosen as best answer
  • +1
    Posted answer
  • +1
    Posted question
  • +1
    Thumb up
  • -1
    Thumb down
121

by Louise Wilson in Coding about December 20, 2011 open - report

How To Fix Profile Tabs Highlight

How To Fix Profile Tabs Highlight

This is how to correct the usless php code mistakes that SE have no fixed in X releases.

 

Open: application\modules\User\controllers\EditController.php

Find:

->getNavigation('user_edit', array('params'=>array('id'=>$id)));


Replace with:

->getNavigation('user_edit', ( $id ? array('params' => array('id'=>$id)) : array()));

Answer: 1  •  Score 0  •  Views: 1752

1 Answer
Browse by
  • 30

    by Jeff Pearson about December 21, 2011

    I think this issue has been discussed here http://socialenginecamp.com/question/view/10/1/fix-for-buttons-on-edit-my-profile. It is based in Knowledgebase section.

    • Score: 0
You must login to post an answer.