Index: trunk/extensions/SelectCategory/SelectCategoryFunctions.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | function fnSelectCategoryShowHook( $m_isUpload = false, &$m_pageObj ) { |
20 | 20 | |
21 | 21 | # check if we should do anything or sleep |
22 | | - if ( fnSelectCategoryCheckConditions( $m_isUpload, &$m_pageObj ) ) { |
| 22 | + if ( fnSelectCategoryCheckConditions( $m_isUpload, $m_pageObj ) ) { |
23 | 23 | # Register CSS file for our select box: |
24 | 24 | global $wgOut, $wgScriptPath; |
25 | 25 | $wgOut->addLink( |
— | — | @@ -100,7 +100,7 @@ |
101 | 101 | global $wgTitle; |
102 | 102 | |
103 | 103 | # check if we should do anything or sleep |
104 | | - if ( fnSelectCategoryCheckConditions( $m_isUpload, &$m_pageObj ) ) { |
| 104 | + if ( fnSelectCategoryCheckConditions( $m_isUpload, $m_pageObj ) ) { |
105 | 105 | |
106 | 106 | # Get localised namespace string: |
107 | 107 | $m_catString = $wgContLang->getNsText( NS_CATEGORY ); |