svn: /web/php/trunk/include/ header.inc layout.inc
| From: | Hannes Magnusson | Date: | Mon, 11 Jul 2011 18:45:10 +0000 |
| Subject: | svn: /web/php/trunk/include/ header.inc layout.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11577@lists.php.net to get a copy of this message | ||
bjori Mon, 11 Jul 2011 18:45:10 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313146
Log:
Fix notices
Changed paths:
U web/php/trunk/include/header.inc
U web/php/trunk/include/layout.inc
Modified: web/php/trunk/include/header.inc
===================================================================
--- web/php/trunk/include/header.inc 2011-07-11 17:33:09 UTC (rev 313145)
+++ web/php/trunk/include/header.inc 2011-07-11 18:45:10 UTC (rev 313146)
@@ -215,7 +215,7 @@
</div>
<?php
-if ($config['elephpants']) {
+if (isset($config['elephpants'])) {
print "<div class='elephpants'><div class=images>";
foreach ($elephpants as $image) {
print "<img src='$image'>";
Modified: web/php/trunk/include/layout.inc
===================================================================
--- web/php/trunk/include/layout.inc 2011-07-11 17:33:09 UTC (rev 313145)
+++ web/php/trunk/include/layout.inc 2011-07-11 18:45:10 UTC (rev 313146)
@@ -825,7 +825,7 @@
// FIXME: This needs to be dynamically generated (randomized?)
// and delivered in a single http request (e.g. using data://
// uri scheme).
- if ($config['elephpants']) {
+ if (isset($config['elephpants'])) {
$elephpants = array(
'http://farm5.static.flickr.com/4111/5037379813_c727c94d83_s.jpg',
'http://farm6.static.flickr.com/5046/5246051917_77bd222e31_s.jpg',