BUGFIX Fixing index building failing on array check when the index is a string.
This commit is contained in:
parent
1fd2088c96
commit
200dcf3121
|
@ -428,7 +428,7 @@ class PostgreSQLDatabase extends SS_Database {
|
||||||
$triggers='';
|
$triggers='';
|
||||||
if($indexes){
|
if($indexes){
|
||||||
foreach($indexes as $name=>$this_index){
|
foreach($indexes as $name=>$this_index){
|
||||||
if($this_index['type']=='fulltext'){
|
if(is_array($this_index) && $this_index['type']=='fulltext'){
|
||||||
$ts_details=$this->fulltext($this_index, $tableName, $name);
|
$ts_details=$this->fulltext($this_index, $tableName, $name);
|
||||||
$fulltexts.=$ts_details['fulltexts'] . ', ';
|
$fulltexts.=$ts_details['fulltexts'] . ', ';
|
||||||
$triggers.=$ts_details['triggers'];
|
$triggers.=$ts_details['triggers'];
|
||||||
|
|
Loading…
Reference in New Issue