User tests: Successful: Unsuccessful:
Follow up on #28813
Just adding a check if the file exists before trying to copy it.
Copy a template
works
works
None
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_templates |
You could move the $dst = Path::clean($toPath . '/' . $folder . '/' . $languageFile);
inside the if (File::exists($src))
;-)
I could, but I prefer it to have like it is so src and dst are right after eachother. Imho it's easier to see what happens.
I have tested this item
On review.
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-05-02 10:39:22 |
Closed_By | ⇒ | wilsonge | |
Labels |
Thanks!
I have tested this item✅ successfully on 80450cb
On review
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28823.