Skip to content

Commit c0a6603

Browse files
committed
Fix column not found - hidden/hide
1 parent 17210b7 commit c0a6603

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/migrations/27.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
'player_id' => 1,
1717
'php' => 0,
1818
'access' => 0,
19-
'hidden' => 0,
19+
($db->hasColumn(TABLE_PREFIX . 'pages', 'hide') ? 'hide' : 'hidden') => 0,
2020
]);
2121
}
2222

@@ -30,7 +30,7 @@
3030
'player_id' => 1,
3131
'php' => 0,
3232
'access' => 0,
33-
'hidden' => 0,
33+
($db->hasColumn(TABLE_PREFIX . 'pages', 'hide') ? 'hide' : 'hidden') => 0,
3434
]);
3535
}
3636
};

0 commit comments

Comments
 (0)