show_colection _form updated
This commit is contained in:
parent
4ae956860e
commit
cd13854ff7
1 changed files with 3 additions and 2 deletions
|
@ -2284,11 +2284,12 @@
|
|||
|
||||
function show_collection_form($params) {
|
||||
global $db,$cbcollection;
|
||||
$brace = 1;
|
||||
if(!userid()) {
|
||||
$loggedIn = "not";
|
||||
} else {
|
||||
$collectArray = array("order"=>" collection_name ASC","type"=>"videos","user"=>userid());
|
||||
$collections = $cbcollection->get_collections($collectArray);
|
||||
$collectArray = array("order"=>" collection_name ASC","type"=>"videos","user"=>userid(),"public_upload"=>'yes');
|
||||
$collections = $cbcollection->get_collections($collectArray,$brace);
|
||||
$contributions = $cbcollection->get_contributor_collections(userid());
|
||||
if($contributions) {
|
||||
if(!$collections) {
|
||||
|
|
Loading…
Add table
Reference in a new issue