Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Commit

Permalink
Bugfix inside save_settings.php.
Browse files Browse the repository at this point in the history
  • Loading branch information
aldus committed Sep 15, 2014
1 parent cfd027a commit 9efab35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion save_settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
// Ok, thumb_size hat gewechselt, also alte Thumbs löschen
$sql = 'SELECT `parent`, `categorie` FROM '.TABLE_PREFIX.'mod_foldergallery_jq_categories WHERE section_id='.$oldSettings['section_id'].';';
$all_data = array();
$database->prepare_and_execute( $sql, true, $all_data );
$database->execute_query( $sql, true, $all_data );

foreach($all_data as $link) {
$pathToFolder = $path.$oldSettings['root_dir'].$link['parent'].'/'.$link['categorie'].$thumbdir;
Expand Down

0 comments on commit 9efab35

Please sign in to comment.