Skip to main content

User questions template

1.1K Views
0 Replies
1 min read
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.

0 Replies

No Replies Yet

Topic Author

M

monkeyman

@monkeyman

Topic Stats

Created Monday, 23 January 2012 18:41
Last Updated Monday, 23 January 2012 18:41
Replies 0
Views 1.1K
Likes 0

Share This Topic