FML Update
This commit is contained in:
@ -10,6 +10,8 @@ use FML\Types\Renderable;
|
||||
* Class representing a Frame Model
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class FrameModel implements Container, Renderable {
|
||||
/*
|
||||
@ -90,7 +92,7 @@ class FrameModel implements Container, Renderable {
|
||||
*/
|
||||
public function getFormat($createIfEmpty = true) {
|
||||
if (!$this->format && $createIfEmpty) {
|
||||
$this->format = new Format();
|
||||
$this->setFormat(new Format());
|
||||
}
|
||||
return $this->format;
|
||||
}
|
||||
|
Reference in New Issue
Block a user