Correct typo consistancy -> consistency

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1571 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2014-07-27 06:59:41 +00:00
parent e93aacecbc
commit af990df2f3

View File

@@ -197,15 +197,15 @@ class dblayer extends PDO
$verify = $this->verifyOne ($key, $datas[$key]);
if (is_array ($verify) && count ($verify))
throw new Exception ($verify[0]." ".$verify[1]." in ".$key);
// TODO : Check for type inconsistancies before create $datasOK
// TODO : Check for type inconsistencies before create $datasOK
if (array_key_exists ($key, $datas))
$datasOK[$key] = $datas[$key];
}
// Check for inconsistancy
// Check for inconsistency
$verify = $this->verifyAll ($datas);
if (count ($verify))
throw new Exception ("Errors in consistancy : ".print_r ($verify, TRUE),
throw new Exception ("Errors in consistency : ".print_r ($verify, TRUE),
405);
// Check if the unique constrain is valid before doing the insertion
@@ -370,7 +370,7 @@ class dblayer extends PDO
if (count ($datasOK) === 0)
throw new Exception (_("Don't receive any field to display"), 501);
// Check for type inconsistancies before using $datasOK
// Check for type inconsistencies before using $datasOK
foreach ($datasOK as $key=>$params)
{
$verify = $this->verifyOne ($key, $datas[$key]);