mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
Admin mobile block: fix inline style beating media query
This commit is contained in:
@@ -77,8 +77,9 @@ foreach ($files as $name => $file) {
|
||||
$pdo->exec($stmt . ';');
|
||||
} catch (PDOException $e) {
|
||||
$msg = $e->getMessage();
|
||||
if (stripos($msg, 'duplicate column name') !== false) {
|
||||
echo " Skipping (column exists): " . substr($stmt, 0, 60) . "...\n";
|
||||
if (stripos($msg, 'duplicate column name') !== false
|
||||
|| stripos($msg, 'no such column') !== false) {
|
||||
echo " Skipping (already applied): " . substr($stmt, 0, 60) . "...\n";
|
||||
continue;
|
||||
}
|
||||
$errors[] = $msg;
|
||||
|
||||
Reference in New Issue
Block a user