diff --git a/index.php b/index.php index cc96a5db9b..a5c8addbc2 100755 --- a/index.php +++ b/index.php @@ -34,7 +34,7 @@ $phpgw->common->read_preferences("email"); $phpgw->common->read_preferences("calendar"); - $phpgw->db->query("select app_version from applications where app_name='admin'"); + $phpgw->db->query("select app_version from applications where app_name='admin'",__LINE__,__FILE__); $phpgw->db->next_record(); if ($phpgw_info["server"]["version"] > $phpgw->db->f("app_version")) { @@ -107,7 +107,7 @@ && $phpgw_info["user"]["preferences"]["addressbook"]["mainscreen_showbirthdays"]) { echo "\n"; $phpgw->db->query("select DISTINCT ab_firstname,ab_lastname from addressbook where " - . "ab_bday like '" . $phpgw->common->show_date(time(),"n/d") + . "ab_bday like '" . $phpgw->common->show_date(time(),"n/d",__LINE__,__FILE__) . "/%' and (ab_owner='" . $phpgw_info["user"]["userid"] . "' or ab_access='" . "ab_public')"); while ($phpgw->db->next_record()) { @@ -120,7 +120,7 @@ $phpgw->common->show_date(time(),"Y")),"n/d" ); $phpgw->db->query("select ab_firstname,ab_lastname from addressbook where " . "ab_bday like '$tommorow/%' and (ab_owner='" - . $phpgw_info["user"]["userid"] . "' or ab_access='public')"); + . $phpgw_info["user"]["userid"] . "' or ab_access='public')",__LINE__,__FILE__); while ($phpgw->db->next_record()) { echo "