Save data
[infodrom/phone] / phone.php
index 5f77ba9..dc68c44 100644 (file)
--- a/phone.php
+++ b/phone.php
@@ -148,8 +148,7 @@ function save_call()
   $info = read_info($_POST['dir'], $_POST['call']);
   $info['name'] = $_POST['name'];
   $info['note'] = $_POST['note'];
-
-  error_log(var_export($info,true));
+  write_info($_POST['dir'], $_POST['call'], $info);
 }
 
 ?>