Improvement keys pmtables in dynaform

This commit is contained in:
Marco Antonio Nina
2014-05-05 15:00:44 -04:00
parent 3f2d2bf29e
commit c774f22c97

View File

@@ -167,7 +167,7 @@ try {
$id = key( $newValues );
$newValues[$id] = $aData['APP_DATA'][$id];
foreach ($aKeys as $key => $value) {
if ($newValues[$key] == '') {
if (!isset($newValues[$key]) || $newValues[$key] == '') {
$G_PUBLISH = new Publisher();
$aMessage = array ();
$aMessage['MESSAGE'] = G::LoadTranslation('ID_FILL_PRIMARY_KEYS');