Merge branch 'master' of dev.sourcefabric.org:campcaster
This commit is contained in:
commit
e902d3b3d4
7 changed files with 277 additions and 107 deletions
|
@ -397,8 +397,8 @@ class ScheduleController extends Zend_Controller_Action
|
|||
|
||||
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
|
||||
$user = new User($userInfo->id);
|
||||
if($user->isAdmin()) {
|
||||
Show::addShow($data);
|
||||
if ($user->isAdmin()) {
|
||||
Show::create($data);
|
||||
}
|
||||
|
||||
//send back a new form for the user.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue