[Freeswitch-svn] [commit] r9728 - freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl

Freeswitch SVN intralanman at freeswitch.org
Mon Sep 29 09:22:15 EDT 2008


Author: intralanman
Date: Mon Sep 29 09:22:14 2008
New Revision: 9728

Modified:
   freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_directory.php

Log:
thanks to Om, at least i know someone is using this :-)

Modified: freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_directory.php
==============================================================================
--- freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_directory.php	(original)
+++ freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_directory.php	Mon Sep 29 09:22:14 2008
@@ -49,7 +49,7 @@
         if (!empty($where_array)) {
             $this -> comment('where array has contents');
             if (count($where_array) > 1) {
-                $where_clause = sprintf('WHERE ', implode(' AND ', $where_array));
+                $where_clause = sprintf('WHERE %s', implode(' AND ', $where_array));
             } else {
                 $where_clause = sprintf('WHERE %s', $where_array[0]);
             }
@@ -275,4 +275,4 @@
         $this -> xmlw -> endElement();
     }
 }
-?>
\ No newline at end of file
+?>



More information about the Freeswitch-svn mailing list