Ignore:
Timestamp:
11/07/11 16:55:36 (13 years ago)
Author:
jkraaijeveld
Message:

Added missing classes for the database connection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/classes/Question.php

    r131 r149  
    2929    public function __construct($uid, $title = null, $type = null, $description = null, $category = null, $answers = null)
    3030    {
     31                if(!isset($uid))
     32                {
     33                        $uid = md5(uniqid(rand(), true));
     34                }
    3135        $this->uid = $uid;
    3236        $this->title = $title;
Note: See TracChangeset for help on using the changeset viewer.