Browse Source

default to 01 of homepage if error

CauseFX 4 years ago
parent
commit
a3687524c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/homepage/html.php

+ 1 - 1
api/homepage/html.php

@@ -54,7 +54,7 @@ trait HTMLHomepageItem
 		return $this->homepageCheckKeyPermissions($key, $permissions);
 	}
 	
-	public function homepageOrdercustomhtml($key)
+	public function homepageOrdercustomhtml($key = '01')
 	{
 		if ($this->homepageItemPermissions($this->htmlHomepagePermissions($key))) {
 			return '