Changeset 25674 for extensions/UserCollections/include/collections.inc.php
- Timestamp:
- Nov 24, 2013, 2:48:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/include/collections.inc.php
r24421 r25674 124 124 if ($conf['user_collections']['allow_public']) 125 125 { 126 $share = array(127 'share_key' => get_random_key(16),128 'password' => null,129 'deadline' => null,130 );131 132 126 if (isset($_POST['add_share'])) 133 127 { … … 165 159 $share['open'] = true; 166 160 } 167 161 162 if (!isset($share['share_key'])) 163 { 164 $share['share_key'] = get_random_key(16); 165 $share['password'] = null; 166 $share['deadline'] = null; 167 } 168 168 169 $template->assign('share', $share); 169 170 }
Note: See TracChangeset
for help on using the changeset viewer.