mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix for the holiday management search.
This commit is contained in:
parent
1951be85fa
commit
cc91bb484a
@ -41,12 +41,6 @@
|
|||||||
$phpgw->db->query("SELECT count(*) FROM phpgw_cal_holidays WHERE locale='".$locale."'".$querymethod,__LINE__,__FILE__);
|
$phpgw->db->query("SELECT count(*) FROM phpgw_cal_holidays WHERE locale='".$locale."'".$querymethod,__LINE__,__FILE__);
|
||||||
$phpgw->db->next_record();
|
$phpgw->db->next_record();
|
||||||
return intval($phpgw->db->f(0));
|
return intval($phpgw->db->f(0));
|
||||||
// $count = 0;
|
|
||||||
// while($phpgw->db->next_record())
|
|
||||||
// {
|
|
||||||
// $count++;
|
|
||||||
// }
|
|
||||||
// return $count;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_holiday_list($locale, $sort, $order, $query, $total)
|
function get_holiday_list($locale, $sort, $order, $query, $total)
|
||||||
@ -72,10 +66,6 @@
|
|||||||
return $holiday;
|
return $holiday;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if($query)
|
|
||||||
// {
|
|
||||||
// $query = str_replace('=',"='",$query)."'";
|
|
||||||
// }
|
|
||||||
$p = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
|
$p = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
|
||||||
$templates = Array(
|
$templates = Array(
|
||||||
'locale' => 'locales.tpl'
|
'locale' => 'locales.tpl'
|
||||||
|
Loading…
Reference in New Issue
Block a user