Commit 29ed4da2 authored by AdSchellevis's avatar AdSchellevis

another reference issue in interfaces.inc (Illegal string offset 'gif')

parent 7eea602f
...@@ -937,7 +937,7 @@ function interface_gre_configure(&$gre, $grekey = "") { ...@@ -937,7 +937,7 @@ function interface_gre_configure(&$gre, $grekey = "") {
function interfaces_gif_configure($checkparent = 0, $realif = "") { function interfaces_gif_configure($checkparent = 0, $realif = "") {
global $config; global $config;
if (is_array($config['gifs']['gif']) && count($config['gifs']['gif'])) { if (isset($config['gifs']['gif']) && count($config['gifs']['gif'])) {
foreach ($config['gifs']['gif'] as $i => $gif) { foreach ($config['gifs']['gif'] as $i => $gif) {
if (empty($gif['gifif'])) if (empty($gif['gifif']))
$gre['gifif'] = "gif{$i}"; $gre['gifif'] = "gif{$i}";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment