Skip to content

Commit 5d12497

Browse files
committed
Update plugin credits
1 parent 6065ea5 commit 5d12497

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

action.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
1111
*
1212
13+
* Original: from Plugin footer, author Juergen <[email protected]>
14+
15+
* Modified by Scott Lee Chua [email protected]
16+
17+
*
18+
1319
* Original: from Plugin headerfooter, author Li Zheng <[email protected]>
1420
1521
* Modified by Juergen [email protected]
@@ -45,9 +51,8 @@ public function handle_parser_wikitext_preprocess(Doku_Event &$event, $param) {
4551

4652
global $conf;
4753

48-
//what does this mean???
49-
50-
if ($INFO['id'] != '') return; // Jede Seite wird zweimal ausgeführt. Wenn die ID leer ist, ist es der echte Text, andernfalls ist es das Menü.
54+
// Check if $INFO is set and has an 'id' key before accessing it
55+
if (isset($INFO) && isset($INFO['id']) && $INFO['id'] != '') return;
5156

5257

5358
//helper array needed for parsePageTemplate

syntax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* @license GPL (http://www.gnu.org/licenses/gpl.html)
4-
* @author Hans-Juergen Schuemmer
4+
* @author Hans-Juergen Schuemmer, Scott Lee Chua
55
*
66
*/
77

0 commit comments

Comments
 (0)