diff --git a/wire/core/PWGIF.php b/wire/core/PWGIF.php index e2026dc9..ab0998f0 100644 --- a/wire/core/PWGIF.php +++ b/wire/core/PWGIF.php @@ -404,7 +404,7 @@ class PWGIFIMAGE { $extLen++; switch($b) { case 0xF9: // Graphic Control - $b = ord($data{1}); + $b = ord($data[1]); $this->m_disp = ($b & 0x1C) >> 2; $this->m_bUser = ($b & 0x02) ? true : false; $this->m_bTrans = ($b & 0x01) ? true : false; diff --git a/wire/modules/Process/ProcessTemplate/ProcessTemplate.module b/wire/modules/Process/ProcessTemplate/ProcessTemplate.module index 7c4b1b9b..87092fb5 100644 --- a/wire/modules/Process/ProcessTemplate/ProcessTemplate.module +++ b/wire/modules/Process/ProcessTemplate/ProcessTemplate.module @@ -69,9 +69,9 @@ class ProcessTemplate extends Process { */ public function init() { + $this->moduleInfo = self::getModuleInfo(); $process = $this->wire('process'); if("$process" === "$this") { - $this->moduleInfo = self::getModuleInfo(); $this->headline($this->moduleInfo['title']); }