mod/gc_mobile_api/models/blog.php 1 location
|
@@ 436-436 (lines=1) @@
|
| 433 |
|
if (!$excerpts->en) { $excerpts->en = ''; } |
| 434 |
|
if (!$excerpts->fr) { $excerpts->fr = ''; } |
| 435 |
|
if ($comments != 0 && $comments != 1) { $comments = 1; } |
| 436 |
|
if ($access != 0 && $access != 1 && $access != -2 && $access !=2 ) { $access = 1; } |
| 437 |
|
if ($status != 0 && $status != 1) { $status = 0; } |
| 438 |
|
|
| 439 |
|
// if there is a container_guid, .: group, and access is set to group only, set access to proper group only |
mod/gc_mobile_api/models/event.php 1 location
|
@@ 547-547 (lines=1) @@
|
| 544 |
|
if (!$excerpts->en) { $excerpts->en = ''; } |
| 545 |
|
if (!$excerpts->fr) { $excerpts->fr = ''; } |
| 546 |
|
if ($comments != 0 && $comments != 1) { $comments = 1; } |
| 547 |
|
if ($access != 0 && $access != 1 && $access != -2 && $access !=2 ) { $access = 1; } |
| 548 |
|
if ($status != 0 && $status != 1) { $status = 0; } |
| 549 |
|
|
| 550 |
|
// if there is a container_guid, .: group, and access is set to group only, set access to proper group only |