Add support for modern php versions.
realdigger

realdigger commited on 2017-10-03 10:18:12
Showing 2 changed files, with 3 additions and 3 deletions.

... ...
@@ -1,7 +1,7 @@
1 1
 <?php
2 2
 
3 3
 // This adds a hook to our action=.
4
-function uPMs_hook_actionArray($actionArray)
4
+function uPMs_hook_actionArray(&$actionArray)
5 5
 {
6 6
 	global $modSettings;
7 7
 
... ...
@@ -45,7 +45,7 @@ function uPMs_hook_load_theme()
45 45
 
46 46
 
47 47
 // Adds a hook to the general mod settings so we can manage the setting.
48
-function uPMs_hook_general_mod_settings($config_vars)
48
+function uPMs_hook_general_mod_settings(&$config_vars)
49 49
 {
50 50
 	global $txt;
51 51
 
... ...
@@ -3,7 +3,7 @@
3 3
 <package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
4 4
 	<id>sleepy:unreadpmfav</id>
5 5
 	<name>Unread PMs Favicon</name>
6
-	<version>1.0</version>
6
+	<version>1.0.2</version>
7 7
 	<type>modification</type>
8 8
 
9 9
 	<install for="SMF 2.0-2.0.99">
10 10