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:
@ -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_'];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user