dennisaj / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Bugs in the callforward page #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to load the call forward page, using mysql
2.
3.

Patch:

Index: mod/call_forward/v_call_forward.php
===================================================================
--- mod/call_forward/v_call_forward.php (revision 412)
+++ mod/call_forward/v_call_forward.php (working copy)
@@ -107,7 +107,7 @@
    $sql = "";
    $sql .= " select * from v_dialplan_includes ";
    $sql .= " where v_id = $v_id ";
-   $sql .= " and opt1name == 'call_forward_id' ";
+   $sql .= " and opt1name = 'call_forward_id' ";
    /*
    if (count($call_forward_array) == 0) {
        //when there are no conferences do this to hide all remaining entries
@@ -147,7 +147,7 @@
    $sql = "";
    $sql .= " select * from v_dialplan_includes ";
    $sql .= " where v_id = $v_id ";
-   $sql .= " and opt1name == 'call_forward_id' ";
+   $sql .= " and opt1name = 'call_forward_id' ";
    /*
    if (count($call_forward_array) == 0) {
        //when there are no conferences do this to hide all remaining entries

Original issue reported on code.google.com by Adam.Twa...@gmail.com on 17 Sep 2010 at 5:55

GoogleCodeExporter commented 9 years ago
Adam Twardowski,

Thanks for the bug report and the recommended fix. Find any thing else let us 
know.

Best Regards,

Mark J Crane

Original comment by markjcrane@gmail.com on 19 Sep 2010 at 3:45