]> git.andy128k.dev Git - ipf.git/commitdiff
fix typo
authorAndrey Kutejko <andy128k@gmail.com>
Sat, 16 Feb 2013 07:48:14 +0000 (09:48 +0200)
committerAndrey Kutejko <andy128k@gmail.com>
Sat, 16 Feb 2013 07:48:14 +0000 (09:48 +0200)
ipf/orm/export.php

index dd77880d16239d9b613fc69a706a6d45d7e976fe..10db5f321d1f1453ad627421cccc8aa15b120c93 100644 (file)
@@ -371,10 +371,10 @@ class IPF_ORM_Export extends IPF_ORM_Connection_Module
     {
         $query = '';
         if ( ! empty($definition['onUpdate'])) {
-            $query .= ' ON UPDATE ' . $this->getForeignKeyRefentialAction($definition['onUpdate']);
+            $query .= ' ON UPDATE ' . $this->getForeignKeyReferentialAction($definition['onUpdate']);
         }
         if ( ! empty($definition['onDelete'])) {
-            $query .= ' ON DELETE ' . $this->getForeignKeyRefentialAction($definition['onDelete']);
+            $query .= ' ON DELETE ' . $this->getForeignKeyReferentialAction($definition['onDelete']);
         }
         return $query;
     }