Skip to content

Commit 63dfdcc

Browse files
committed
Check the right table for the text_handle column
1 parent d2a3832 commit 63dfdcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension.driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function update($previousVersion=false) {
148148
foreach($textbox_fields as $field) {
149149
$table = "tbl_entries_data_" . $field->get('id');
150150
// Make sure we have an index on the handle
151-
if ($this->updateHasColumn('text_handle', $table) && !$this->updateHasIndex('handle', $table)) {
151+
if ($this->updateHasColumn('text_handle') && !$this->updateHasIndex('handle', $table)) {
152152
$this->updateAddIndex('handle', $table, 333);
153153
}
154154
// Handle length

0 commit comments

Comments
 (0)