mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
check if array element exists
This commit is contained in:
parent
f63315f6c0
commit
8807257aa2
|
@ -1271,7 +1271,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
$attrs[] = array('href', $config['remote']);
|
||||
$attrs[] = array('data-toggle', 'modal');
|
||||
$attrs[] = array('role', 'button');
|
||||
$attrs[] = array('class', $config['class']);
|
||||
if(isset($config['class']))
|
||||
$attrs[] = array('class', $config['class']);
|
||||
return $attrs;
|
||||
} /* }}} */
|
||||
|
||||
|
|
|
@ -1273,7 +1273,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
$attrs[] = array('href', $config['remote']);
|
||||
$attrs[] = array('data-toggle', 'modal');
|
||||
$attrs[] = array('role', 'button');
|
||||
$attrs[] = array('class', $config['class']);
|
||||
if(isset($config['class']))
|
||||
$attrs[] = array('class', $config['class']);
|
||||
return $attrs;
|
||||
} /* }}} */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user