/// will create a new instance and return the id number
/// of the new instance.
- if (empty($glossary->userating)) {
- $glossary->assessed = 0;
- }
-
if (empty($glossary->ratingtime) or empty($glossary->assessed)) {
$glossary->assesstimestart = 0;
$glossary->assesstimefinish = 0;
$glossary->timemodified = time();
$glossary->id = $glossary->instance;
- //if (empty($glossary->userating)) {
-// $glossary->assessed = 0;
- // }
-
if (empty($glossary->ratingtime) or empty($glossary->assessed)) {
$glossary->assesstimestart = 0;
$glossary->assesstimefinish = 0;