Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Description.php |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | * @param SMWPrintRequest $printrequest |
48 | 48 | */ |
49 | 49 | public function addPrintRequest( SMWPrintRequest $printrequest ) { |
50 | | - $this->m_printreqs[$printrequest->getHash()] = $printrequest; |
| 50 | + $this->m_printreqs[] = $printrequest; |
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
— | — | @@ -56,7 +56,7 @@ |
57 | 57 | * @param SMWPrintRequest |
58 | 58 | */ |
59 | 59 | public function prependPrintRequest( SMWPrintRequest $printrequest ) { |
60 | | - $this->m_printreqs = array_merge( array( $printrequest->getHash() => $printrequest ), $this->m_printreqs ); |
| 60 | + array_unshift( $this->m_printreqs, $printrequest ); |
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |