Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

submisson jbimage #75

Open
exmmth opened this issue Apr 2, 2020 · 0 comments
Open

submisson jbimage #75

exmmth opened this issue Apr 2, 2020 · 0 comments

Comments

@exmmth
Copy link
Contributor

exmmth commented Apr 2, 2020

https://github.com/JBZoo/JBZoo/blob/746e75e339db9c26092857abe9f707a1baa47fe3/src/packages/jbuniversal/jbuniversal/elements/jbimage/jbimage.php#L268

В момент редактирования с front и фото не из папки указанной в настройках jbimage, фото не попадает в select и не отображается в preview

потеряно отрицание у второго условия, правильная запись:
if (!empty($image) && !$this->_inUploadPath($image)) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant