File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 2929
3030abstract class Adapter
3131{
32- protected $ request ;
33-
32+ public $ request ;
3433 public $ providers = array ();
3534 public $ options = array (
3635 'minImageWidth ' => 0 ,
Original file line number Diff line number Diff line change @@ -164,13 +164,11 @@ protected static function getAtomEntries(\SimpleXMLElement $entries)
164164 }
165165 }
166166
167- if (!$ item ['url ' ]) {
168- if ($ entry ->link ) {
169- $ attributes = $ link ->attributes ();
167+ if (!$ item ['url ' ] && isset ($ link )) {
168+ $ attributes = $ link ->attributes ();
170169
171- if (!empty ($ attributes ->href )) {
172- $ item ['url ' ] = (string ) $ attributes ->href ;
173- }
170+ if (!empty ($ attributes ->href )) {
171+ $ item ['url ' ] = (string ) $ attributes ->href ;
174172 }
175173 }
176174
You can’t perform that action at this time.
0 commit comments