From 2ebd9a6457f10ef66e7a9e711886ebfc68a5b9ce Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Mon, 12 Dec 2016 14:03:28 +0100 Subject: [PATCH] Errores solucionados --- agi.php | 4 ++++ debian/changelog | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/agi.php b/agi.php index 2a88f8e..785768b 100644 --- a/agi.php +++ b/agi.php @@ -17,6 +17,10 @@ class Agi while (!feof (STDIN)) { $agivar = trim (fgets (STDIN, 4096)); + + if ($agivar === '') + break; + $agivar = explode (':', $agivar); if (count($agivar) == 2) diff --git a/debian/changelog b/debian/changelog index 83d277f..7eb5e54 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -vn-asterisk (1.009-deb7) stable; urgency=low +vn-asterisk (1.010-deb7) stable; urgency=low * Initial Release.