From 0768134de16b1c75a1908da09f58cd627f2330b0 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sat, 20 Oct 2012 06:22:00 -0400
Subject: [PATCH] Fix bug where wrong words were highlighted on spell-before-send check

---
 program/include/rcube_db_mssql.php |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/program/include/rcube_db_mssql.php b/program/include/rcube_db_mssql.php
index 3a64c3b..119647d 100644
--- a/program/include/rcube_db_mssql.php
+++ b/program/include/rcube_db_mssql.php
@@ -1,6 +1,6 @@
 <?php
 
-/*
+/**
  +-----------------------------------------------------------------------+
  | program/include/rcube_db_mssql.php                                    |
  |                                                                       |
@@ -26,11 +26,13 @@
  *
  * This is a wrapper for the PHP PDO
  *
- * @package    Database
- * @version    1.0
+ * @package Database
+ * @version 1.0
  */
 class rcube_db_mssql extends rcube_db
 {
+    public $db_provider = 'mssql';
+
     /**
      * Driver initialization
      */
@@ -64,9 +66,9 @@
      * This method is deprecated and should not be used anymore due to limitations
      * of timestamp functions in Mysql (year 2038 problem)
      *
-     * @param  string $field Field name
+     * @param string $field Field name
      *
-     * @return string  SQL statement to use in query
+     * @return string SQL statement to use in query
      * @deprecated
      */
     public function unixtimestamp($field)
@@ -93,9 +95,9 @@
     /**
      * Adds TOP (LIMIT,OFFSET) clause to the query
      *
-     * @param string $query   SQL query
-     * @param int    $limit   Number of rows
-     * @param int    $offset  Offset
+     * @param string $query  SQL query
+     * @param int    $limit  Number of rows
+     * @param int    $offset Offset
      *
      * @return string SQL query
      */

--
Gitblit v1.9.1