Skip to content

Commit

Permalink
Merge pull request #49 from alexwenz/master
Browse files Browse the repository at this point in the history
Bugfix: Überschreiben von Originaldatei durch Redakteure
  • Loading branch information
alexwenz authored Jan 26, 2024
2 parents 0b8cb0f + 2ecd15d commit a29364c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package: cropper
version: '2.0.2'
version: '2.0.3'
author: Friends Of REDAXO
supportpage: https://github.com/FriendsOfREDAXO/cropper

Expand Down
2 changes: 1 addition & 1 deletion pages/mediapool.cropper.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
<input type="checkbox" name="create_new_image" id="create_new_image" checked />
<span></span>' . rex_i18n::msg('cropper_img_save_info') . '</label>';
if (!rex::getUser()->hasPerm('cropper[overwrite]')) :
$checkbox = '<div class="nocheckbox">' . rex_i18n::msg('cropper_img_save_info_nochoice') .'</div>';
$checkbox = '<div class="nocheckbox"><input type="hidden" name="create_new_image" value="1" />' . rex_i18n::msg('cropper_img_save_info_nochoice') .'</div>';
endif;
$fragment = new rex_fragment();
$fragment->setVar('elements', array(
Expand Down

0 comments on commit a29364c

Please sign in to comment.