Skip to content

Commit

Permalink
Fix salesagility#9574 - Update method to static for module renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
th-adavidson committed Jul 7, 2022
1 parent 51e182b commit a6224c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/Studio/parsers/StudioParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function loadFile($file)
EOQ;
}
public function buildImageButtons($buttons, $horizontal=true)
public static function buildImageButtons($buttons, $horizontal=true)
{
$text = '<table cellspacing=2><tr>';
foreach ($buttons as $button) {
Expand Down Expand Up @@ -214,7 +214,7 @@ public function generateButtons()
public function getFormButtons()
{
$buttons = $this->generateButtons();
return $this->buildImageButtons($buttons);
return self::buildImageButtons($buttons);
}
public function getForm()
{
Expand Down

0 comments on commit a6224c3

Please sign in to comment.