$profile = $this->user->getProfile();
$saved = Happening::saveNew($profile,
- $this->startTime,
- $this->endTime,
+ common_sql_date($this->startTime),
+ common_sql_date($this->endTime),
$this->title,
$this->location,
$this->description,
*
* @return boolean is read only action?
*/
- function isReadOnly($args)
+ function isReadOnly(array $args=array())
{
if ($_SERVER['REQUEST_METHOD'] == 'GET' ||
$_SERVER['REQUEST_METHOD'] == 'HEAD') {