Skip to content
Snippets Groups Projects
Commit 720105b1 authored by Peter Rotich's avatar Peter Rotich
Browse files

Make db_query options param optional.

parent 04047acb
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
vim: expandtab sw=4 ts=4 sts=4:
**********************************************************************/
function db_connect($host, $user, $passwd, $options = NULL) {
function db_connect($host, $user, $passwd, $options = array()) {
//Assert
if(!strlen($user) || !strlen($passwd) || !strlen($host))
......
......@@ -18,7 +18,7 @@
**********************************************************************/
$__db = null;
function db_connect($host, $user, $passwd, $options) {
function db_connect($host, $user, $passwd, $options = array()) {
global $__db;
//Assert
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment