CC-2496:adding "Select Country" to drop down(popup and support setting)

-done
This commit is contained in:
james 2011-06-29 17:46:46 -04:00
parent 7cc6e54f21
commit 89df3db096
1 changed files with 1 additions and 0 deletions

View File

@ -282,6 +282,7 @@ class Application_Model_Preference
$sql = "SELECT * FROM cc_country";
$res = $CC_DBC->GetAll($sql);
$out = array();
$out[""] = "Select Country";
foreach($res as $r){
$out[$r["isocode"]] = $r["name"];
}