mirror of
https://github.com/processwire/processwire.git
synced 2025-08-16 03:34:33 +02:00
Fix issue processwire/processwire-issues#433
This commit is contained in:
@@ -232,7 +232,7 @@ class ImageInspector extends WireData {
|
|||||||
$i['trans'] = isset($gi->m_bTrans) ? $gi->m_bTrans : false;
|
$i['trans'] = isset($gi->m_bTrans) ? $gi->m_bTrans : false;
|
||||||
$i['transcolor'] = isset($gi->m_nTrans) ? $gi->m_nTrans : '';
|
$i['transcolor'] = isset($gi->m_nTrans) ? $gi->m_nTrans : '';
|
||||||
$i['bgcolor'] = $gfh->m_nBgColor;
|
$i['bgcolor'] = $gfh->m_nBgColor;
|
||||||
$i['numcolors'] = $gfh->m_colorTable->m_nColors;
|
$i['numcolors'] = isset($gfh->m_colorTable->m_nColors) ? $gfh->m_colorTable->m_nColors : 0;
|
||||||
$i['interlace'] = $gih->m_bInterlace;
|
$i['interlace'] = $gih->m_bInterlace;
|
||||||
$this->info = $i;
|
$this->info = $i;
|
||||||
unset($gif, $gih, $gfh, $gi, $i);
|
unset($gif, $gih, $gfh, $gi, $i);
|
||||||
|
Reference in New Issue
Block a user