Unset variables expected to be set
Opened this issue · 0 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Change /private/etc/php.ini to report notices (fx error_reporting = E_ALL
| E_STRICT)
2. Try to use the app
What is the expected output? What do you see instead?
It is expected to work. Instead, a lot of undefined-errors occur on the page
(Especially
$extension in iPhone Remote.app/Contents/Resources/www/common/filerow.php on
line 46
and $show_arrow in iPhone Remote.app/Contents/Resources/www/common/filerow.php
on line
85.
What version of the product are you using? On what operating system?
iPhone Remote 0.9.21 on OS X 10.5.2.
Please provide any additional information below.
Changing the php.ini is not an option for me, as the machine is used for
web-development.
The errors are a result of unsafe programming anyhoo, as it should always be
ensured that a
variable exists before using it (by the use of isset()).
Original issue reported on code.google.com by goo...@fizkerinc.dk
on 28 Mar 2008 at 1:54