News:

Wondering if this will always be free?  See why free is better.

Main Menu

IPB 1.3 -> SMF 1.1 RC3: Typing error in sql script

Started by jeichhorn, November 20, 2006, 04:32:04 PM

Previous topic - Next topic

jeichhorn

SMF Version: SMF 1.1 RC3
There is a small typing error in the ipb 1.3 to smf 1.1 rc3 converter sql script, which prevents to run successfully 'subsring' instead of 'substring').
Here is the diff to fix this:


--- invision_to_smf.sql.orig    2006-11-20 21:51:54.427111252 +0100
+++ invision_to_smf.sql 2006-11-20 21:52:08.768488861 +0100
@@ -392,7 +392,7 @@
                                INSERT INTO {$to_prefix}membergroups
                                        (ID_GROUP, groupName, maxMessages, onlineColor, stars)
                                VALUES
-                                       ($row[ID_GROUP] + 3, SUBSRING('$row[groupName]', 1, 255), $row[maxMessages], '', '')");
+                                       ($row[ID_GROUP] + 3, SUBSTRING('$row[groupName]', 1, 255), $row[maxMessages], '', '')");
                        $groupID = $row['ID_GROUP'] + 3;
                }
                else


Jörg.

Oldiesmann

Michael Eshom
Christian Metal Fans

Advertisement: