diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 3e31ca4..f116a26 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -116,10 +116,12 @@ final class BackendController extends Controller $question = QAQuestionMapper::get() ->with('answers') ->with('answers/createdBy') + ->with('answers/createdBy/image') ->with('answers/createdBy/account') ->with('answers/votes') ->with('createdBy') ->with('createdBy/account') + ->with('createdBy/image') ->with('votes') ->with('tags') ->with('tags/title') diff --git a/Models/NullQAAnswerVote.php b/Models/NullQAAnswerVote.php index 5e81bed..7356abe 100755 --- a/Models/NullQAAnswerVote.php +++ b/Models/NullQAAnswerVote.php @@ -34,6 +34,7 @@ final class NullQAAnswerVote extends QAAnswerVote public function __construct(int $id = 0) { $this->id = $id; + parent::__construct(); } /** diff --git a/Models/NullQAQuestionVote.php b/Models/NullQAQuestionVote.php index 0814dea..24f236d 100755 --- a/Models/NullQAQuestionVote.php +++ b/Models/NullQAQuestionVote.php @@ -34,6 +34,7 @@ final class NullQAQuestionVote extends QAQuestionVote public function __construct(int $id = 0) { $this->id = $id; + parent::__construct(); } /** diff --git a/Theme/Backend/qa-dashboard.tpl.php b/Theme/Backend/qa-dashboard.tpl.php index 8dd41c1..545109e 100755 --- a/Theme/Backend/qa-dashboard.tpl.php +++ b/Theme/Backend/qa-dashboard.tpl.php @@ -56,7 +56,9 @@ echo $this->data['nav']->render(); ?>