From cca2a4964c1096431166f5ab2f7b359bac6ff6cf Mon Sep 17 00:00:00 2001 From: "Daniel Sampedro B." Date: Sun, 21 Dec 2014 01:11:27 -0500 Subject: Fix WSAT Detail --- framework/Wsat/TWsatBaseGenerator.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/Wsat') 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; } -- cgit v1.2.3