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
(from parent 1:
ee992c6
)
Merge branch 'MDL-26618' of git://github.com/timhunt/moodle
author
Eloy Lafuente (stronk7)
<stronk7@moodle.org>
Tue, 5 Jul 2011 15:46:46 +0000
(17:46 +0200)
committer
Eloy Lafuente (stronk7)
<stronk7@moodle.org>
Tue, 5 Jul 2011 15:46:46 +0000
(17:46 +0200)
lib/blocklib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/blocklib.php
b/lib/blocklib.php
index
1fc331b
..
4c816c2
100644
(file)
--- a/
lib/blocklib.php
+++ b/
lib/blocklib.php
@@
-557,6
+557,10
@@
class block_manager {
'contextid2' => $context->id,
'pagetype' => $this->page->pagetype,
);
+ if ($this->page->subpage === '') {
+ $params['subpage1'] = $DB->sql_empty();
+ $params['subpage2'] = $DB->sql_empty();
+ }
$sql = "SELECT
bi.id,
bp.id AS blockpositionid,