diff options
author | Christian Pointner <equinox@helsinki.at> | 2012-02-17 19:29:26 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2012-02-17 19:29:26 (GMT) |
commit | eff30d15df8108d41c9d5c95362911ebcceec740 (patch) | |
tree | 00b381ee1842d173914ae8d79aa1cbb4e44d4920 /rhimport-rs | |
parent | 343227c978a8ce240a140264869714c672111802 (diff) |
fixed pv add note (with type/status)
Diffstat (limited to 'rhimport-rs')
-rwxr-xr-x | rhimport-rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rhimport-rs b/rhimport-rs index 99d2ce3..d501cf9 100755 --- a/rhimport-rs +++ b/rhimport-rs @@ -122,9 +122,9 @@ while(1) { print "summary:\n" . $sum_title . "\n\n" . $sum_text . "\n"; - rhimport::pv_add_note($sum_title, $sum_text, $PV_ID, sprintf("%04d-%02d-%02d", $import_date[0], $import_date[1], $import_date[2]), 1); + rhimport::pv_add_note($sum_title, $sum_text, $PV_ID, sprintf("%04d-%02d-%02d", $import_date[0], $import_date[1], $import_date[2]), "1"); print "\n"; - rhimport::pv_add_note($sum_title, $sum_text, $PV_ID, sprintf("%04d-%02d-%02d", $import_date_reb[0], $import_date_reb[1], $import_date_reb[2]), 2); + rhimport::pv_add_note($sum_title, $sum_text, $PV_ID, sprintf("%04d-%02d-%02d", $import_date_reb[0], $import_date_reb[1], $import_date_reb[2]), "2"); print "\n"; last; |