summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Sampedro B. <darthdaniel85@gmail.com>2014-12-21 01:11:27 -0500
committerDaniel Sampedro B. <darthdaniel85@gmail.com>2014-12-21 01:11:27 -0500
commitcca2a4964c1096431166f5ab2f7b359bac6ff6cf (patch)
tree1ede6c15a1b1d6a8f0581af98df5155ad69c3863
parent174a3aee03ee3398004c00d42ff8c3511ffc9dbe (diff)
Fix WSAT Detail
-rw-r--r--framework/Wsat/TWsatBaseGenerator.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/Wsat/TWsatBaseGenerator.php b/framework/Wsat/TWsatBaseGenerator.php
index 4898e635..1facb13f 100644
--- a/framework/Wsat/TWsatBaseGenerator.php
+++ b/framework/Wsat/TWsatBaseGenerator.php
@@ -62,7 +62,8 @@ class TWsatBaseGenerator
{
$tableNames = $this->_dbMetaData->findTableNames();
$index = array_search('pradocache', $tableNames);
- array_splice($tableNames, $index, 1);
+ if($index)
+ array_splice($tableNames, $index, 1);
return $tableNames;
}