You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by li...@apache.org on 2010/07/20 01:51:26 UTC

svn commit: r965683 - /shindig/trunk/php/src/social/service/RequestItem.php

Author: lindner
Date: Mon Jul 19 23:51:26 2010
New Revision: 965683

URL: http://svn.apache.org/viewvc?rev=965683&view=rev
Log:
SHINDIG-1389 | Patch from Bastian Hofmann | Typo in RequestItem exception message

Modified:
    shindig/trunk/php/src/social/service/RequestItem.php

Modified: shindig/trunk/php/src/social/service/RequestItem.php
URL: http://svn.apache.org/viewvc/shindig/trunk/php/src/social/service/RequestItem.php?rev=965683&r1=965682&r2=965683&view=diff
==============================================================================
--- shindig/trunk/php/src/social/service/RequestItem.php (original)
+++ shindig/trunk/php/src/social/service/RequestItem.php Mon Jul 19 23:51:26 2010
@@ -129,7 +129,7 @@ abstract class RequestItem {
     } elseif ($sortOrder == CollectionOptions::SORT_ORDER_ASCENDING || $sortOrder == CollectionOptions::SORT_ORDER_DESCENDING) {
       return $sortOrder;
     } else {
-      throw new SocialSpiException("Parameter " . sef::$SORT_ORDER . " (" . $sortOrder . ") is not valid.", ResponseError::$BAD_REQUEST);
+      throw new SocialSpiException("Parameter " . self::$SORT_ORDER . " (" . $sortOrder . ") is not valid.", ResponseError::$BAD_REQUEST);
     }
   }