Correccion de errores en PMTABLES
This commit is contained in:
@@ -770,6 +770,7 @@ class PmTable
|
|||||||
$types['DATE'] = 'DATE';
|
$types['DATE'] = 'DATE';
|
||||||
$types['TIME'] = 'TIME';
|
$types['TIME'] = 'TIME';
|
||||||
$types['DATETIME'] = 'DATETIME';
|
$types['DATETIME'] = 'DATETIME';
|
||||||
|
$types['TIMESTAMP'] = 'TIMESTAMP';
|
||||||
//$types['BLOB'] = 'BLOB'; <- disabled
|
//$types['BLOB'] = 'BLOB'; <- disabled
|
||||||
//$types['CLOB'] = 'CLOB'; <- disabled
|
//$types['CLOB'] = 'CLOB'; <- disabled
|
||||||
|
|
||||||
|
|||||||
@@ -973,7 +973,7 @@ class Table
|
|||||||
{
|
{
|
||||||
$rep_tab_name = trim($rep_tab_name);
|
$rep_tab_name = trim($rep_tab_name);
|
||||||
if ((strpos($rep_tab_name, ' ')) || (strlen($rep_tab_name) < 4)) {
|
if ((strpos($rep_tab_name, ' ')) || (strlen($rep_tab_name) < 4)) {
|
||||||
throw (new \Exception("The property rep_tab_name: '$rep_tab_name' is incorrect."));
|
throw (new \Exception("The property pmt_tab_name: '$rep_tab_name' is incorrect."));
|
||||||
}
|
}
|
||||||
$rep_tab_name = G::toUpper($rep_tab_name);
|
$rep_tab_name = G::toUpper($rep_tab_name);
|
||||||
if (substr($rep_tab_name, 0, 4) != 'PMT_') {
|
if (substr($rep_tab_name, 0, 4) != 'PMT_') {
|
||||||
|
|||||||
Reference in New Issue
Block a user