Merged revisions 62171 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Fri, 27 Apr 2007 16:15:47 +0000 (16:15 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 27 Apr 2007 16:15:47 +0000 (16:15 +0000)
commitec0cae93a4a51c9b110636c006e6d8913ae0e0c6
treec83884702d3396282cde94f0843e260ceb2ba964
parent240bd841b06c81c62a8179c29ff6c76ee9a08d74
Merged revisions 62171 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62171 | russell | 2007-04-27 11:14:11 -0500 (Fri, 27 Apr 2007) | 6 lines

If no variables were passed into pbx_substitute_variables_helper_full(), then
don't even bother creating a temporary bogus channel, since that is only for
allowing certain functions to operate on the variables as if they were on a
channel.  Most importantly, this fixes a crash.
(issue #9613, reported by callguy, fixed by me)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62172 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/pbx.c