Fix a minor profile error
jdarwood007

jdarwood007 commited on 2023-09-10 17:18:51
Showing 2 changed files, with 4 additions and 4 deletions.

... ...
@@ -253,7 +253,7 @@ class SFSP
253 253
 			]);
254 254
 		if ($this->smcFunc['db_num_rows']($request) == 1)
255 255
 		{
256
-			$row = $this->smcFunc['db_fetch_row']($request);
256
+			$row = $this->smcFunc['db_fetch_assoc']($request);
257 257
 			$row['poster_ip'] = inet_dtop($row['poster_ip']);
258 258
 		}
259 259
 		$this->smcFunc['db_free_result']($request);
... ...
@@ -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:StopForumSpam</id>
5 5
 	<name>Stop Forum Spam</name>
6
-	<version>1.5.0</version>
6
+	<version>1.5.1</version>
7 7
 	<type>modification</type>
8 8
 
9 9
 	<!-- 2.0 has no support for hooks -->
... ...
@@ -121,7 +121,7 @@
121 121
 		<remove-file name="$themedir/images/admin/sfs.webp" />
122 122
 	</uninstall>
123 123
 
124
-	<upgrade from="1.0-1.4" for="2.1.*">
124
+	<upgrade from="1.0-1.5" for="2.1.*">
125 125
 		<require-file name="language/StopForumSpam.english.php" destination="$themes_dir/default/languages" />
126 126
         <require-file name="language/StopForumSpam.finnish.php" destination="$themes_dir/default/languages" />
127 127
 
... ...
@@ -152,7 +152,7 @@
152 152
 		<require-file name="sfs.webp" destination="$themedir/images/admin" />
153 153
 	</upgrade>
154 154
 
155
-	<upgrade from="1.0-1.4" for="2.0.*">
155
+	<upgrade from="1.0-1.5" for="2.0.*">
156 156
 		<code type="file">sfs_hooks_install.php</code>
157 157
 
158 158
 		<require-file name="language/StopForumSpam.english.php" destination="$themes_dir/default/languages" />
159 159