Warning: session_start(): open(/var/lib/php/sessions/sess_afb95orslr88g2nuksc1c4noe5, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
// returns true if change
sbool _cSmartSetField(Concept c, S field, O value) ctex {
Field f = setOpt_findField(c.getClass(), field);
if (f != null && value != null) {
Class type = primitiveToBoxedTypeOpt(f.getType());
if (type == Int.class && !value instanceof Int) {
if (!setField_trueIfChanged(f, c, toInt(value))) false;
if (!isTransient(f)) c.change();
true;
}
}
ret _csetField(c, field, value);
}