mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 18:36:42 +02:00
MDL-43852 Filters Fixed naked-OR conditions.
This commit is contained in:
parent
ed0a48b2c1
commit
edf55404ff
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ class filter_mediaplugin extends moodle_text_filter {
|
|||
}
|
||||
|
||||
// Check SWF permissions.
|
||||
$this->trusted = !empty($options['noclean']) or !empty($CFG->allowobjectembed);
|
||||
$this->trusted = (!empty($options['noclean']) or !empty($CFG->allowobjectembed));
|
||||
|
||||
// Handle all links that contain any 'embeddable' marker text (it could
|
||||
// do all links, but the embeddable markers thing should make it faster
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue