Author: bhofmann
Date: Thu Nov  4 13:33:13 2010
New Revision: 1030961

URL: http://svn.apache.org/viewvc?rev=1030961&view=rev
Log:
PHP: Small Fix for makeRequests with OAuth authorization

Modified:
    shindig/trunk/php/src/gadgets/GadgetSpecParser.php

Modified: shindig/trunk/php/src/gadgets/GadgetSpecParser.php
URL: 
http://svn.apache.org/viewvc/shindig/trunk/php/src/gadgets/GadgetSpecParser.php?rev=1030961&r1=1030960&r2=1030961&view=diff
==============================================================================
--- shindig/trunk/php/src/gadgets/GadgetSpecParser.php (original)
+++ shindig/trunk/php/src/gadgets/GadgetSpecParser.php Thu Nov  4 13:33:13 2010
@@ -33,7 +33,7 @@ class GadgetSpecParser {
    *
    * @param string $xmlContent
    */
-  public function parse($xmlContent, GadgetContext $context) {
+  public function parse($xmlContent, GadgetContext $context = null) {
     $this->context = $context;
     libxml_use_internal_errors(true);
     $doc = new DOMDocument();


Reply via email to