mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
This commit is contained in:
@@ -47,7 +47,7 @@ foreach ($object->fields as $key => $val) {
|
||||
print '<tr class="field_'.$key.'">';
|
||||
print '<td';
|
||||
print ' class="titlefieldcreate';
|
||||
if ($val['notnull'] > 0) {
|
||||
if (isset($val['notnull']) && $val['notnull'] > 0) {
|
||||
print ' fieldrequired';
|
||||
}
|
||||
if ($val['type'] == 'text' || $val['type'] == 'html') {
|
||||
|
||||
@@ -48,7 +48,7 @@ foreach ($object->fields as $key => $val) {
|
||||
|
||||
print '<tr class="field_'.$key.'"><td';
|
||||
print ' class="titlefieldcreate';
|
||||
if ($val['notnull'] > 0) {
|
||||
if (isset($val['notnull']) && $val['notnull'] > 0) {
|
||||
print ' fieldrequired';
|
||||
}
|
||||
if (preg_match('/^(text|html)/', $val['type'])) {
|
||||
|
||||
Reference in New Issue
Block a user