File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Changes in 11.4.4
55-----------------
66- Fix SQL transcript_grades view for History Marking Periods of existing school years in rosariosis.sql, rosariosis_mysql.sql & Update.fnc.php
77- Fix regression since 11.4 check MP exists before trying to get GPA: include History Marking Periods in Grades.fnc.php
8+ - Fix PHP Fatal error call to undefined function pg_fetch_array() in database.inc.php & AccessLog.php
89
910Changes in 11.4.3
1011-----------------
Original file line number Diff line number Diff line change @@ -255,10 +255,12 @@ function db_fetch_row( $result )
255255
256256 $ return = false ;
257257
258- if ( $ DatabaseType === 'mysql '
259- && $ result instanceof mysqli_result )
258+ if ( $ DatabaseType === 'mysql ' )
260259 {
261- $ return = mysqli_fetch_assoc ( $ result );
260+ if ( $ result instanceof mysqli_result )
261+ {
262+ $ return = mysqli_fetch_assoc ( $ result );
263+ }
262264 }
263265 else
264266 {
Original file line number Diff line number Diff line change 4242{
4343 // Only requested modname.
4444 // @since 11.4 Automatically clear Access Log entries older than one year
45- DBGet ( "DELETE FROM access_log
45+ DBQuery ( "DELETE FROM access_log
4646 WHERE CREATED_AT<' " . date ( 'Y-m-d ' , strtotime ( '1 year ago ' ) ) . "' " );
4747}
4848
You can’t perform that action at this time.
0 commit comments