Browse Source

Merge pull request #308 from sparksp/patch-3

SQLServer::limit and ::offset return strings
Taylor Otwell 13 years ago
parent
commit
2e492a710a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/database/query/grammars/sqlserver.php

+ 2 - 2
laravel/database/query/grammars/sqlserver.php

@@ -124,7 +124,7 @@ class SQLServer extends Grammar {
 	 */
 	protected function limit(Query $query)
 	{
-		return;
+		return '';
 	}
 
 	/**
@@ -135,7 +135,7 @@ class SQLServer extends Grammar {
 	 */
 	protected function offset(Query $query)
 	{
-		return;
+		return '';
 	}
 
 }