Revision: 1731
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1731&view=rev
Author:   cimorrison
Date:     2010-12-22 09:32:11 +0000 (Wed, 22 Dec 2010)

Log Message:
-----------
Changed to pass $res by reference rather than value.

Modified Paths:
--------------
    mrbs/branches/ics_attachments/web/functions_ical.inc

Modified: mrbs/branches/ics_attachments/web/functions_ical.inc
===================================================================
--- mrbs/branches/ics_attachments/web/functions_ical.inc        2010-12-21 
20:16:30 UTC (rev 1730)
+++ mrbs/branches/ics_attachments/web/functions_ical.inc        2010-12-22 
09:32:11 UTC (rev 1731)
@@ -286,9 +286,9 @@
 
 // outputs an iCalendar based on the data in $res, the result of an SQL query.
 //
-//    $res        resource  the result of an SQL query on the entry table
+//    &$res       resource  the result of an SQL query on the entry table
 //    $export_end int       a Unix timestamp giving the end limit for the 
export
-function export_icalendar($res, $keep_private, $export_end=PHP_INT_MAX)
+function export_icalendar(&$res, $keep_private, $export_end=PHP_INT_MAX)
 {
   require_once "functions_view.inc";
   require_once "mrbs_sql.inc";


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to