diff --git a/ykval-import b/ykval-import index 8827322..bbeb7f4 100755 --- a/ykval-import +++ b/ykval-import @@ -20,6 +20,8 @@ if (!$db->connect()) { while ($res=fgetcsv(STDIN, 0, ",")) { + if($res[0]===null || strpos($res[0], '#')===0) continue; + $params=array("active"=>$res[0], "created"=>$res[1], "modified"=>$res[2], diff --git a/ykval-import-clients b/ykval-import-clients index 109e40d..a9a3ca4 100755 --- a/ykval-import-clients +++ b/ykval-import-clients @@ -20,6 +20,8 @@ if (!$db->connect()) { while ($res=fgetcsv(STDIN, 0, ",")) { + if($res[0]===null || strpos($res[0], '#')===0) continue; + $params=array("id"=>$res[0], "active"=>$res[1], "created"=>$res[2],