1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Formattazione codice

This commit is contained in:
Pek5892
2024-02-13 15:50:26 +01:00
parent 2f42eb061e
commit 5beba88c4b
9 changed files with 37 additions and 46 deletions

View File

@ -114,8 +114,8 @@ if (!empty($query)) {
if (!empty($r['_bg_'])) {
if (preg_match('/-light$/', $r['_bg_'])) {
$column['data-background'] = substr($r['_bg_'], 0, -6); // Remove the "-light" suffix from the word
}else{
$column['data-background'] = substr($r['_bg_'], 0, -6); // Remove the "-light" suffix from the word
} else {
$column['data-background'] = $r['_bg_'];
}
}