Parcourir la source

#2435 mistake in the word

RomanL il y a 7 ans
Parent
commit
d833bae807
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1 1
      install/sql/system.sql
  2. 2 2
      template/scripts/BxBaseFormAccount.php

+ 1 - 1
install/sql/system.sql

@@ -991,7 +991,7 @@ CREATE TABLE `sys_accounts` (
   `changed` int(11) NOT NULL DEFAULT '0',
   `logged` int(11) NOT NULL DEFAULT '0',
   `ip` varchar(40) NOT NULL DEFAULT '',
-  `reffered` varchar(255) NOT NULL DEFAULT '',
+  `referred` varchar(255) NOT NULL DEFAULT '',
   `login_attempts` tinyint(4) NOT NULL DEFAULT '0',
   `locked` tinyint(4) NOT NULL DEFAULT '0',
   PRIMARY KEY (`id`),

+ 2 - 2
template/scripts/BxBaseFormAccount.php

@@ -72,7 +72,7 @@ class BxBaseFormAccount extends BxTemplFormView
     static $FIELD_ADDED = 'added';
     static $FIELD_CHANGED = 'changed';
     static $FIELD_IP = 'ip';
-    static $FIELD_REFFERED = 'reffered';
+    static $FIELD_REFERRED = 'referred';
 	static $FIELD_PHONE = 'phone';
 
     protected $_bSetPendingApproval = false;
@@ -125,7 +125,7 @@ class BxBaseFormAccount extends BxTemplFormView
             self::$FIELD_ADDED => time(),
             self::$FIELD_CHANGED => time(),
             self::$FIELD_IP => getVisitorIP(),
-            self::$FIELD_REFFERED => isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '',
+            self::$FIELD_REFERRED => isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '',
 			self::$FIELD_PHONE => $sPhone,
         ));
         return parent::insert ($aValsToAdd, $isIgnore);