Admin mobile block: fix inline style beating media query

This commit is contained in:
Pontoporeia
2026-05-09 20:51:44 +02:00
parent 6614b04dbd
commit a80b2c08bf
9 changed files with 149 additions and 11 deletions

View File

@@ -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;