[Solar-svn] Revision 3201

pmjones at solarphp.com pmjones at solarphp.com
Tue Jun 3 11:02:49 CDT 2008


Solar_Http_Response: [FIX] Typo fixes.


Modified: trunk/Solar/Http/Response.php
===================================================================
--- trunk/Solar/Http/Response.php	2008-06-03 15:57:41 UTC (rev 3200)
+++ trunk/Solar/Http/Response.php	2008-06-03 16:02:49 UTC (rev 3201)
@@ -452,7 +452,7 @@
      * @return void
      * 
      */
-    public function redirect($href, $code = '302')
+    public function redirect($spec, $code = '302')
     {
         if ($spec instanceof Solar_Uri_Action) {
             $href = $spec->get(true);
@@ -521,7 +521,7 @@
      * @see <http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost>
      * 
      */
-    public function redirectNoCache($href, $code = '303')
+    public function redirectNoCache($spec, $code = '303')
     {
         // reset pragma header
         $this->setHeader('Pragma', 'no-cache');
@@ -543,7 +543,7 @@
         $this->setHeader('Expires', 1);
         
         // continue with redirection
-        return $this->redirect($spec);
+        return $this->redirect($spec, $code);
     }
     
     /**




More information about the Solar-svn mailing list