update
This commit is contained in:
13
core/plugins/Smarty/modifier.isFlat.php
Normal file
13
core/plugins/Smarty/modifier.isFlat.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* renderuje wartość
|
||||
*
|
||||
* @param $str
|
||||
* @return unknown_type
|
||||
*/
|
||||
|
||||
function smarty_modifier_isFlat($array){
|
||||
return (is_array($array) && count($array) == 1 && strlen($array[0][0][0]->GetLabelY()) == 0);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user