Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Fixed issue when Notice "Undefined variable: header" occured on PHP 7.0 #626

Merged
merged 1 commit into from Aug 6, 2016
Merged

Conversation

lutskanu
Copy link

@lutskanu lutskanu commented Aug 5, 2016

Fixed a notice triggered on PHP 7.0+ Notice: Undefined variable: header, stacktraced in in facebook/php-sdk-v4/src/Facebook/Url/FacebookUrlDetectionHandler.php at line 98

@ghost
Copy link

ghost commented Aug 5, 2016

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!

@SammyK
Copy link
Contributor

SammyK commented Aug 5, 2016

Doh! Good catch @lutskanu! :) Once you sign the CLA I'll merge this in.

In case anyone is wondering, this isn't just a PHP 7 issue. And here's another solution.

@ghost ghost added the CLA Signed label Aug 5, 2016
@ghost
Copy link

ghost commented Aug 5, 2016

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@SammyK SammyK merged commit f7ca208 into facebookarchive:master Aug 6, 2016
@SammyK
Copy link
Contributor

SammyK commented Aug 6, 2016

Thanks! :)

@SammyK SammyK added this to the 5.2.1 milestone Aug 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants