Commit e4b460a6 authored by David Metzler's avatar David Metzler
Browse files

Warning fix.

parent d0691f82
...@@ -1100,8 +1100,9 @@ class FrxEditor { ...@@ -1100,8 +1100,9 @@ class FrxEditor {
public function blockLinks($block_name, $frx, $attrs, $id='', $context = array()) { public function blockLinks($block_name, $frx, $attrs, $id='', $context = array()) {
$o = ''; $o = '';
if (!$context) $context = array();
$parms = Frx::Data()->getContext('parm'); $parms = Frx::Data()->getContext('parm');
if ($parms) $context = array_merge($parms, $context); if ($parms && is_array($context)) $context = array_merge($parms, $context);
$class = @(string)$attrs['class']; $class = @(string)$attrs['class'];
$frx_class = strpos($class, 'Frx') !== FALSE; $frx_class = strpos($class, 'Frx') !== FALSE;
if ($frx_class) { if ($frx_class) {
......
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