Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.8.4, 1.9
-
Component/s: Wiki (1.x)
-
Labels:None
-
Database:MySQL
-
Affected Branches:MOODLE_18_STABLE, MOODLE_19_STABLE
-
Fixed Branches:MOODLE_18_STABLE, MOODLE_19_STABLE
Description
It seems that current (e)wiki module doesn't work at all. All I get under 19_STABLE is a blank page after creating the activity.
Using MySQL
DB driver.
Tracing down the problem (nothing is showed in error logs) it seems that, in the anydb_escape_string() function (mod/wiki/ewikimoodlelib.php) we are using the mysql_escape_string() function boht under mysqli and mysql drivers.
Going to change that function to ALWAYS (any DB) return the results of a simple addslashes() really I cannot imagine any reason against that.
Ciao