mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3185 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -207,12 +207,12 @@ function rrdtool_create($filename, $options)
|
||||
function rrdtool_update($filename, $options)
|
||||
{
|
||||
/// Do some sanitisation on the data if passed as an array.
|
||||
if(is_array($options))
|
||||
if (is_array($options))
|
||||
{
|
||||
$values[] = "N";
|
||||
foreach($options as $value)
|
||||
foreach ($options as $value)
|
||||
{
|
||||
if(!is_numeric($value)) { $value = U; }
|
||||
if (!is_numeric($value)) { $value = U; }
|
||||
$values[] = $value;
|
||||
}
|
||||
$options = implode(':', $values);
|
||||
|
||||
Reference in New Issue
Block a user