syntaxer run

git-svn-id: http://www.observium.org/svn/observer/trunk@3185 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2012-05-15 15:18:57 +00:00
parent 1f9eae3699
commit 4985943822
44 changed files with 65 additions and 97 deletions
+3 -3
View File
@@ -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);