Change some properties from protected to private

This commit is contained in:
Benoît Burnichon
2015-07-09 10:47:22 +02:00
parent 2e4d659045
commit 3d16c624b4
3 changed files with 42 additions and 50 deletions

View File

@@ -277,7 +277,7 @@ class record_preview extends record_adapter
switch ($this->env) {
case "RESULT":
$this->title .= $this->app->trans('resultat numero %number%', ['%number%' => '<span id="current_result_n">' . ($this->number + 1) . '</span> : ']);
$this->title .= $this->app->trans('resultat numero %number%', ['%number%' => '<span id="current_result_n">' . ($this->get_number() + 1) . '</span> : ']);
$this->title .= parent::get_title($highlight, $searchEngine);
break;
case "BASK":