Save data
authorJoey Schulze <joey@infodrom.org>
Sat, 12 Dec 2009 18:33:50 +0000 (19:33 +0100)
committerJoey Schulze <joey@infodrom.org>
Fri, 25 Feb 2011 17:40:22 +0000 (18:40 +0100)
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);
 }
 
 ?>