Permalink
Browse files

Setting a checkable timeout

Declaring a value isn't enough to be able to check isset. Isset on
a declared var that has no value is false.

This fixes an issue where the settings for dial timeout in the admin
wouldn't apply to the Dial applet.
  • Loading branch information...
1 parent 24f2e9a commit fe2501a6288ed8b977ecda9374fc90f30c29bf3a @Gipetto Gipetto committed Apr 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/standard/applets/dial/TwimlDial.php
View
2 plugins/standard/applets/dial/TwimlDial.php
@@ -24,7 +24,7 @@ class TwimlDial {
public $dial;
- protected $timeout;
+ protected $timeout = false;
protected $transcribe = true;
protected $voice = 'man';
protected $language = 'en';

0 comments on commit fe2501a

Please sign in to comment.