mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 22:35:45 +00:00
Fixed PHP error on undefined variable
This commit is contained in:
parent
1cdde07e32
commit
f890f96ca0
|
@ -17,6 +17,15 @@ class CitizenTemplate extends BaseTemplate {
|
|||
* Outputs the entire contents of the page
|
||||
*/
|
||||
public function execute() {
|
||||
// TODO: Convert to Mustache
|
||||
ob_start();
|
||||
|
||||
$html = $this->getUserIcons();
|
||||
|
||||
echo $html;
|
||||
$htmlUnportedUsericons = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
// Naming conventions for Mustache parameters:
|
||||
// - Prefix "is" for boolean values.
|
||||
// - Prefix "msg-" for interface messages.
|
||||
|
@ -99,14 +108,6 @@ class CitizenTemplate extends BaseTemplate {
|
|||
// TODO: Convert to Mustache
|
||||
ob_start();
|
||||
|
||||
$html = $this->getUserIcons();
|
||||
|
||||
echo $html;
|
||||
$htmlUnportedUsericons = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
ob_start();
|
||||
|
||||
$html = $this->getPageTools();
|
||||
|
||||
echo $html;
|
||||
|
|
Loading…
Reference in a new issue