From bc92ca56ef6c51393d2782b7654eaa162dfc2e10 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 30 Jul 2012 07:20:56 -0400
Subject: [PATCH] Fixes after default->classic switch
---
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