Allow media upload on previz mode
This commit is contained in:
@@ -473,7 +473,7 @@ class Spot extends Main
|
||||
$asResult = array();
|
||||
$sDesc = '';
|
||||
|
||||
if($this->oProject->getMode() != Project::MODE_HISTO) {
|
||||
if($this->oProject->isEditable()) {
|
||||
$asMessageIds = $asMediaIds = array();
|
||||
|
||||
//New Feed Items
|
||||
@@ -593,7 +593,7 @@ class Spot extends Main
|
||||
$iPostId = 0;
|
||||
$sDesc = '';
|
||||
|
||||
if($this->oProject->getMode() != Project::MODE_HISTO) {
|
||||
if($this->oProject->isEditable()) {
|
||||
$asData = array(
|
||||
Db::getId(Project::PROJ_TABLE) => $this->oProject->getProjectId(),
|
||||
'name' => mb_strtolower(trim($sName)),
|
||||
|
||||
Reference in New Issue
Block a user