use correct name to connect to the db

2005-10-25  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/vote/include/election-sql.php: use correct name
	to connect to the db
This commit is contained in:
Vincent Untz 2005-10-25 11:18:49 +00:00 committed by Vincent Untz
parent 6810d2ffbd
commit 0658cd7f63
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-10-25 Vincent Untz <vuntz@gnome.org>
* foundation.gnome.org/vote/include/election-sql.php: use correct name
to connect to the db
2005-10-24 Vincent Untz <vuntz@gnome.org>
* foundation.gnome.org/vote/*: s/option/choice/, also rename the

View file

@ -40,7 +40,7 @@ function elec_sql_open () {
return FALSE;
}
$select_base = mysql_select_db ($mysql_database, $handle);
$select_base = mysql_select_db ($mysql_db, $handle);
if (!$select_base) {
elec_sql_close ($handle);
return FALSE;