Changeset 19843 for extensions/UserCollections/include/collections.inc.php
- Timestamp:
- Jan 5, 2013, 2:49:19 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/include/collections.inc.php
r17657 r19843 178 178 if (isset($_POST['save_col'])) 179 179 { 180 $UserCollection->updateParam('name', $_POST['name']); 180 if (empty($_POST['name'])) 181 { 182 array_push($page['errors'], l10n('Please give a name')); 183 } 184 else 185 { 186 $UserCollection->updateParam('name', $_POST['name']); 187 } 181 188 $UserCollection->updateParam('public', $_POST['public']); 182 189 }
Note: See TracChangeset
for help on using the changeset viewer.