User questions template

monkeyman
monkeyman
  • monkeyman
  • 12 months ago
I guess, there's a little bug with user questions list:

else if($this->action == 'user_questions') {
$user_questions = &$model->getUserQuestions();
$categories = &$model->getCategories($catid);
$this->action = 'open_questions';

Shouldn't it be $this->action = 'user_questions'? Because right now it doesn't return anything if no questions found, but it should according to this:

echo JText::_("NO_RESULTS");

In short, NO_RESULTS string is not there, because user_questions template never fired.

Access to viewing replies is restricted.
Showing 2 of 2 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai