From 8dfe51ef4e3eb1239f145a0a45d423a5d93cf35e Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sun, 20 Jun 2010 06:36:31 -0400
Subject: [PATCH] - Extended rcube_user::get_username (#1486707)

---
 program/lib/MDB2/Driver/Reverse/Common.php |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/program/lib/MDB2/Driver/Reverse/Common.php b/program/lib/MDB2/Driver/Reverse/Common.php
index 43a2f25..5d9f27c 100644
--- a/program/lib/MDB2/Driver/Reverse/Common.php
+++ b/program/lib/MDB2/Driver/Reverse/Common.php
@@ -42,7 +42,7 @@
 // | Author: Lukas Smith <smith@pooteeweet.org>                           |
 // +----------------------------------------------------------------------+
 //
-// $Id: Common.php,v 1.41 2007/09/09 13:47:36 quipo Exp $
+// $Id: Common.php 273526 2009-01-14 15:01:21Z quipo $
 //
 
 /**
@@ -76,6 +76,10 @@
 
     /**
      * Split the "[owner|schema].table" notation into an array
+     *
+     * @param string $table [schema and] table name
+     *
+     * @return array array(schema, table)
      * @access private
      */
     function splitTableSchema($table)
@@ -466,6 +470,8 @@
             }
         }
 
+        $res = array();
+
         if ($mode) {
             $res['num_fields'] = count($fields);
         }

--
Gitblit v1.9.1