Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Hooks.php |
— | — | @@ -208,9 +208,9 @@ |
209 | 209 | } elseif ($namespace == SMW_NS_TYPE) { |
210 | 210 | $dv = SMWDataValueFactory::newSpecialValue(SMW_SP_HAS_TYPE,$title->getDBkey()); |
211 | 211 | $subjects = $store->getSpecialSubjects(SMW_SP_HAS_TYPE, $dv); |
212 | | - foreach ($subjects as $titlesofpropertypagestoupdate) { |
213 | | - $subjectsPropertyPages = $store->getAllPropertySubjects($titlesofpropertypagestoupdate); |
214 | | - $jobs[] = new SMWUpdateJob($titlesofpropertypagestoupdate); |
| 212 | + foreach ($subjects as $valueofpropertypagestoupdate) { |
| 213 | + $subjectsPropertyPages = $store->getAllPropertySubjects($valueofpropertypagestoupdate->getTitle()); |
| 214 | + $jobs[] = new SMWUpdateJob($valueofpropertypagestoupdate->getTitle()); |
215 | 215 | foreach ($subjectsPropertyPages as $titleOfPageToUpdate) { |
216 | 216 | $jobs[] = new SMWUpdateJob($titleOfPageToUpdate); |
217 | 217 | } |