mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00
Fix column not found - hidden/hide
This commit is contained in:
parent
17210b717f
commit
c0a66037e0
@ -16,7 +16,7 @@ $up = function () use ($db) {
|
|||||||
'player_id' => 1,
|
'player_id' => 1,
|
||||||
'php' => 0,
|
'php' => 0,
|
||||||
'access' => 0,
|
'access' => 0,
|
||||||
'hidden' => 0,
|
($db->hasColumn(TABLE_PREFIX . 'pages', 'hide') ? 'hide' : 'hidden') => 0,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ $up = function () use ($db) {
|
|||||||
'player_id' => 1,
|
'player_id' => 1,
|
||||||
'php' => 0,
|
'php' => 0,
|
||||||
'access' => 0,
|
'access' => 0,
|
||||||
'hidden' => 0,
|
($db->hasColumn(TABLE_PREFIX . 'pages', 'hide') ? 'hide' : 'hidden') => 0,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user