bug fixes
This commit is contained in:
@@ -8,7 +8,7 @@ function migrate2utf8_wiki_name($recordid){
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!$wiki = get_record('wiki','id',$recorvarchardid)) {
|
||||
if (!$wiki = get_record('wiki','id',$recordid)) {
|
||||
log_the_problem_somewhere();
|
||||
return false;
|
||||
}
|
||||
@@ -130,4 +130,5 @@ function migrate2utf8_wiki_initialcontent($recordid){
|
||||
/// And finally, just return the converted field
|
||||
return $result;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
migrate2utf8_wiki_pagename(RECORDID)
|
||||
</PHP_FUNCTION>
|
||||
</FIELD>
|
||||
<FIELD name="wtype" method="NO_CONV" type="enum('teacher', 'group', 'student')" length="0" />
|
||||
<FIELD name="wtype" method="NO_CONV" type="enum('teacher', 'group', 'student')" length="0" default="group" />
|
||||
<FIELD name="initialcontent" method="PHP_FUNCTION" type="varchar" length="255">
|
||||
<PHP_FUNCTION>
|
||||
migrate2utf8_wiki_initialcontent(RECORDID)
|
||||
|
||||
Reference in New Issue
Block a user