FML Update

This commit is contained in:
Steffen Schröder committed 2014-05-01 17:35:37 +02:00
1 parent 8ee564d4b7
commit 5ad45d3b6f
80 files changed
+341 -11

No files matched your search

+3 -1
View File
@@ -12,6 +12,8 @@ use FML\Elements\FrameModel;
* (CMlFrame)
*
* @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class Frame extends Control implements Container {
/*
@@ -79,7 +81,7 @@ class Frame extends Control implements Container {
*/
public function getFormat($createIfEmpty = true) {
if (!$this->format && $createIfEmpty) {
$this->format = new Format();
$this->setFormat(new Format());
}
return $this->format;
}