mirror of
https://github.com/processwire/processwire.git
synced 2025-08-07 15:26:54 +02:00
Fix issue processwire/processwire-issues#1047
This commit is contained in:
@@ -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;
|
||||
|
@@ -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']);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user