Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 541... Línea 541...
541
            // Note: It's common for the DB to return null, so we allow format_string to take nulls,
541
            // Note: It's common for the DB to return null, so we allow format_string to take nulls,
542
            // even though it is counter-intuitive.
542
            // even though it is counter-intuitive.
543
            return ['', $textformat ?? FORMAT_MOODLE];
543
            return ['', $textformat ?? FORMAT_MOODLE];
544
        }
544
        }
Línea 545... Línea 545...
545
 
545
 
546
        if (empty($itemid)) {
546
        if ($itemid !== null) {
547
            $itemid = null;
547
            $itemid = (int) $itemid;
Línea 548... Línea 548...
548
        }
548
        }
549
 
549