@@ -219,8 +219,9 @@ discard block |
||
| 219 | 219 | if(!empty($_POST['solidcolor'])) { |
| 220 | 220 | $__user_u->update_row($_SESSION['siteusername'], "background_option", $_POST['bgoption']); |
| 221 | 221 | |
| 222 | - if($_POST['bgoption'] == "solid") |
|
| 223 | - $__user_u->update_row($_SESSION['siteusername'], "2012_bg", ""); |
|
| 222 | + if($_POST['bgoption'] == "solid") { |
|
| 223 | + $__user_u->update_row($_SESSION['siteusername'], "2012_bg", ""); |
|
| 224 | + } |
|
| 224 | 225 | |
| 225 | 226 | $__user_u->update_row($_SESSION['siteusername'], "primary_color", $_POST['solidcolor']); |
| 226 | 227 | } |
@@ -275,8 +276,9 @@ discard block |
||
| 275 | 276 | $_POST['layout_channel'] == "featured" || |
| 276 | 277 | $_POST['layout_channel'] == "playlists" || |
| 277 | 278 | $_POST['layout_channel'] == "everything" |
| 278 | - ) |
|
| 279 | - $__user_u->update_row($_SESSION['siteusername'], "layout", $_POST['layout_channel']); |
|
| 279 | + ) { |
|
| 280 | + $__user_u->update_row($_SESSION['siteusername'], "layout", $_POST['layout_channel']); |
|
| 281 | + } |
|
| 280 | 282 | } |
| 281 | 283 | |
| 282 | 284 | if(!empty($_POST['bgoptionset'])) { |