1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-07 15:26:54 +02:00
This commit is contained in:
Ryan Cramer
2019-12-20 12:31:06 -05:00
parent 6bae4780f0
commit a11403b913
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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']);
}