mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Modification to make field use content1 column in data_content table
This commit is contained in:
parent
22e192c9f0
commit
2806b95ca2
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class data_field_url extends data_field_base {// extends
|
|||
}
|
||||
|
||||
function update_data_content($fieldid, $recordid, $value, $name){
|
||||
//if data_content already exit, we update
|
||||
//if data_content already exists, we update
|
||||
if ($oldcontent = get_record('data_content','fieldid', $fieldid, 'recordid', $recordid)){
|
||||
$content = new object;
|
||||
$content->fieldid = $fieldid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue