Closed (fixed)
Project:
Entity Share Cron
Version:
8.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Aug 2019 at 13:52 UTC
Updated:
10 Feb 2020 at 15:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
julien_g commentedComment #3
grimreaperComment #4
id.aleks commentedComment #5
id.rem.dev commentedComment #6
id.rem.dev commentedSeems like the issue was a little tricky.
Please review.
Comment #7
id.aleks commented@Vladimirrem nice catch .Thanks.
Comment #8
grimreaperThanks!!!
Oh, it was when during application of Drupal standard that this was introduced.
I have tested, it is ok.
Just a question, why {$remote_id} and not $remote_id only?
Comment #9
id.rem.dev commentedAccording to PHP.net there are some tricks and using {$var} is the most correct way. See here
Comment #10
grimreaperThanks @Vladimirrem!
I read the link you point to, and I have one last question/remark:
According to the link in comment 9, Should it be ${remote_id} instead of {$remote_id} ?
Comment #11
id.aleks commented@Grimreaper Actually it will produce the same result, because {} will be removed. As for me using {$remote_id} is more preferable instead of ${remote_id}. In the first case, it's more obvious that this is variable.
Comment #13
grimreaperOk. Thanks for your replies!
Good for me, the patch is now merged!
Thanks for your help.
Comment #14
grimreaperFix credit attribution.