[Astpp-commit] SF.net SVN: astpp:[2248] trunk/modules/ASTPP/lib/ASTPP.pm
Brought to you by:
darrenkw
|
From: <dar...@us...> - 2009-05-12 20:56:27
|
Revision: 2248
http://astpp.svn.sourceforge.net/astpp/?rev=2248&view=rev
Author: darrenkw
Date: 2009-05-12 20:56:17 +0000 (Tue, 12 May 2009)
Log Message:
-----------
Made the code that prints out the directory more inclusive.
Modified Paths:
--------------
trunk/modules/ASTPP/lib/ASTPP.pm
Modified: trunk/modules/ASTPP/lib/ASTPP.pm
===================================================================
--- trunk/modules/ASTPP/lib/ASTPP.pm 2009-04-29 15:29:46 UTC (rev 2247)
+++ trunk/modules/ASTPP/lib/ASTPP.pm 2009-05-12 20:56:17 UTC (rev 2248)
@@ -271,8 +271,9 @@
if ($arg{user}) {
$tmp .= " WHERE username = " . $self->{_freeswitch_db}->quote($arg{user});
if ($arg{domain}) {
- $tmp .= " AND domain = "
- . $self->{_freeswitch_db}->quote($arg{domain});
+ $tmp .= " AND domain IN( "
+ . $self->{_freeswitch_db}->quote($arg{domain})
+ . ",'\$\${local_ip_v4}')";
}
# } else {
# if ($arg{domain}) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|