Changeset 19621 for extensions/File_Uploader
- Timestamp:
- Dec 28, 2012, 8:28:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/File_Uploader/admin/admin_upload.php
r19472 r19621 64 64 $file_uploader_errors['upload_error'] = l10n('Unable to create folder ').$file_uploader_file_directory; 65 65 //If the physical category si not in database, we add it 66 if ( mysql_num_rows(pwg_query('SELECT id FROM '.CATEGORIES_TABLE.' WHERE name = "'.$file_uploader_destination_folder[$file_uploader_file_extension].'";')) == 0){66 if (pwg_db_num_rows(pwg_query('SELECT id FROM '.CATEGORIES_TABLE.' WHERE name = "'.$file_uploader_destination_folder[$file_uploader_file_extension].'";')) == 0){ 67 67 $next_id = pwg_db_nextval('id', CATEGORIES_TABLE); 68 68 $category_rank = pwg_db_fetch_assoc(pwg_query('SELECT MAX(rank) FROM '.CATEGORIES_TABLE.';'));
Note: See TracChangeset
for help on using the changeset viewer.