phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] xmlrpc comment.php,1.3.2.1.2.1


From: skwashd
Subject: [Phpgroupware-cvs] xmlrpc comment.php,1.3.2.1.2.1
Date: Fri, 3 Jun 2005 01:23:00 +0200

Update of xmlrpc

Modified Files:
     Branch: Version-0_9_16-branch
            comment.php lines: +9 -7

Log Message:
fix redirect_link

====================================================
Index: xmlrpc/comment.php
diff -u xmlrpc/comment.php:1.3 xmlrpc/comment.php:1.3.2.1.2.1
--- xmlrpc/comment.php:1.3      Wed Dec  5 16:27:28 2001
+++ xmlrpc/comment.php  Thu Jun  2 23:23:51 2005
@@ -45,7 +45,7 @@
                                $resp->faultString() . "</p>";
                        bomb();
                }
-               return xmlrpc_decode($resp->value());
+               return phpgw_xmlrpc_decode($resp->value());
        }

        // create client for discussion server
@@ -65,11 +65,13 @@
                ));

                // send the browser back to the originating page
-               Header('Location: ' . $GLOBALS['phpgw']->link($mydir . 
'/comment.php',
-                         'catid='   . $catid
-                       . '&chanid=' . $chanid
-                       . '&oc='     . $catid
-               ));
+               $GLOBALS['phpgw']->redirect_link($mydir . '/comment.php',
+                                                       array
+                                                       (
+                                                               'catid'         
=> $catid,
+                                                               'chanid'        
=> $chanid,
+                                                               'oc'            
=> $catid
+                                                       ));
        }

        // now we've got here, we're exploring the story store






reply via email to

[Prev in Thread] Current Thread [Next in Thread]