Prevent switch duplicates.

This commit is contained in:
markjcrane 2016-04-02 20:28:45 -06:00
parent 2156d17da8
commit 233fb08d32
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class switch_settings {
//get an array of the default settings
$sql = "select * from v_default_settings ";
$sql .= "where default_setting_category = 'theme' ";
$sql .= "where default_setting_category = 'switch' ";
$prep_statement = $this->db->prepare($sql);
$prep_statement->execute();
$default_settings = $prep_statement->fetchAll(PDO::FETCH_NAMED);