|
|
Choosing A Webhost: |
mantisbt/core bugnote_api.php,1.39,1.40: msg#00066bug-tracking.mantis.cvs
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv23679/core Modified Files: bugnote_api.php Log Message: change bugs page to use print_filter_do_filter_by_date Index: bugnote_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/bugnote_api.php,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- bugnote_api.php 20 Dec 2006 19:49:54 -0000 1.39 +++ bugnote_api.php 6 Mar 2007 18:08:43 -0000 1.40 @@ -447,19 +447,14 @@ # -------------------- # Returns an array of bugnote stats function bugnote_stats_get_events_array( $p_bugnote_id, $p_from, $p_to ) { - // MySQL $t_user_table = config_get( 'mantis_user_table' ); $t_bugnote_table = config_get( 'mantis_bugnote_table' ); if ( "" != $p_from ) { - $t_ar = explode( "/", $p_from ); # Expecting mm/dd/yyyy - $t_from = $t_ar[2] ."-". $t_ar[0] ."-". $t_ar[1]; - $c_from = " AND bn.date_submitted > '$t_from' "; + $c_from = " AND bn.date_submitted > '$p_from' "; } if ( "" != $p_to ) { - $t_ar = explode( "/", $p_to ); # Expecting mm/dd/yyyy - $t_to = $t_ar[2] ."-". $t_ar[0] ."-". $t_ar[1]; - $c_to = " AND bn.date_submitted < '$t_to' "; + $c_to = " AND bn.date_submitted < '$p_to' "; } $t_results = array(); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | mantisbt/core custom_field_api.php, 1.60, 1.61 history_api.php, 1.38, 1.39 html_api.php, 1.202, 1.203 prepare_api.php, 1.1, 1.2 print_api.php, 1.159, 1.160 string_api.php, 1.84, 1.85 user_api.php, 1.107, 1.108, Victor Boctor |
|---|---|
| Next by Date: | mantisbt bugnote_stats_inc.php,1.4,1.5, David Newcomb |
| Previous by Thread: | mantisbt/core custom_field_api.php, 1.60, 1.61 history_api.php, 1.38, 1.39 html_api.php, 1.202, 1.203 prepare_api.php, 1.1, 1.2 print_api.php, 1.159, 1.160 string_api.php, 1.84, 1.85 user_api.php, 1.107, 1.108, Victor Boctor |
| Next by Thread: | mantisbt bugnote_stats_inc.php,1.4,1.5, David Newcomb |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |