Skip to content

Conversation

@gordol
Copy link

@gordol gordol commented Sep 23, 2014

PHP Notice: Undefined variable: title_page in C:\domains\windows.php.net\templates\header.php on line 4

Added a default page title var for index, and also prepended an @ to the $title_page variable call in header.php.

Double fixed.

@weltling
Copy link
Contributor

Thanks for the PR. This mirror repo wasn't synced for a while, but it works now. Could you please check and rebase, if needed?

Thanks.

@Sobak
Copy link
Contributor

Sobak commented Apr 23, 2017

I can confirm the issue. PR itself looks fine to be merged without rebasing.

define('CUR_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);
//define('TPL_PATH', CUR_PATH . 'templates' . DIRECTORY_SEPARATOR);

$title_page = 'Home'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Semicolon is missing.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, i caught that way earlier. check latest commit.

september 2014. :)

6463127

looks like you figured it out, and merged already though. 👍

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, thanks for the PR in any case. We're now also synced with the upstream repo, so PRs can target the current state.

php-pulls pushed a commit that referenced this pull request Apr 25, 2017
@weltling
Copy link
Contributor

Changes merged, while patch was not available anymore.

Thanks.

@weltling weltling closed this Apr 25, 2017
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

Successfully merging this pull request may close these issues.

3 participants