Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b618f2d
)
MDL-37459: Fix unprintable chars in wierd commit
author
Damyon Wiese
<damyon@moodle.com>
Tue, 11 Jun 2013 05:25:28 +0000
(13:25 +0800)
committer
Damyon Wiese
<damyon@moodle.com>
Tue, 11 Jun 2013 05:25:28 +0000
(13:25 +0800)
Somehow some unprintable chars made it into the last commit.
Removing them all...
course/moodleform_mod.php
patch
|
blob
|
blame
|
history
diff --git
a/course/moodleform_mod.php
b/course/moodleform_mod.php
index
c7d36db
..
800dce1
100644
(file)
--- a/
course/moodleform_mod.php
+++ b/
course/moodleform_mod.php
@@
-890,8
+890,8
@@
abstract class moodleform_mod extends moodleform {
if ($mform->elementExists($name)) {
$element = $mform->getElement($name);
if ($element->getType() == 'date_time_selector') {
- $enabledsetting
= $name .
'_enabled';
-
if (empty($settings->$enabledsetting))
{
+ $enabledsetting
= $name .
'_enabled';
+
if (empty($settings->$enabledsetting))
{
$mform->setDefault($name, 0);
} else {
$relativetime = $usermidnight;