|
From: Jon O. <jon...@us...> - 2006-08-16 14:48:35
|
Update of /cvsroot/mxbb/mx_calsnails/includes In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv22211/modules/mx_calsnails/includes Modified Files: cal_functions.php Log Message: cache fix Index: cal_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/includes/cal_functions.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** cal_functions.php 29 Jun 2006 22:03:22 -0000 1.7 --- cal_functions.php 16 Aug 2006 14:48:31 -0000 1.8 *************** *** 684,688 **** } ! if ( !( $result = $db->sql_query( $sql, 300 ) ) ) { mx_message_die( GENERAL_ERROR, 'Could not select Event data', '', __LINE__, __FILE__, $sql ); --- 684,688 ---- } ! if ( !( $result = $db->sql_query( $sql ) ) ) { mx_message_die( GENERAL_ERROR, 'Could not select Event data', '', __LINE__, __FILE__, $sql ); *************** *** 900,904 **** $sql .= " ORDER BY stamp"; ! if ( !( $query = $db->sql_query( $sql, 300 ) ) ) { echo "<BR>$sql<BR>" . mysql_error(); --- 900,904 ---- $sql .= " ORDER BY stamp"; ! if ( !( $query = $db->sql_query( $sql ) ) ) { echo "<BR>$sql<BR>" . mysql_error(); |