summaryrefslogtreecommitdiff
path: root/framework/Wsat/TWsatBaseGenerator.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Wsat/TWsatBaseGenerator.php')
-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;
}