functions.inc.php: typo fix

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@77 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
David Goodwin 17 years ago
parent 9d7608b03d
commit b947f120b4

@ -1263,7 +1263,7 @@ function db_connect ()
* @return String or int as appropriate. * @return String or int as appropriate.
*/ */
function db_get_boolean($bool) { function db_get_boolean($bool) {
if(!is_boolean($bool)) { if(!is_bool($bool)) {
die("Invalid usage of 'db_get_boolean($bool)'"); die("Invalid usage of 'db_get_boolean($bool)'");
} }
@ -1783,4 +1783,5 @@ $table_domain_admins = table_by_key ('domain_admins');
$table_log = table_by_key ('log'); $table_log = table_by_key ('log');
$table_mailbox = table_by_key ('mailbox'); $table_mailbox = table_by_key ('mailbox');
$table_vacation = table_by_key ('vacation'); $table_vacation = table_by_key ('vacation');
$table_vacation_notification = table_by_key('vacation_notification');
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */

Loading…
Cancel
Save