[misc] Fix up some warnings when running under php 4.3.x
This commit is contained in:
parent
66fe0380d1
commit
8205a7a5f9
3
CHANGES
3
CHANGES
|
@ -26,7 +26,8 @@ For further information about Photo Organizer, see its web site at:
|
|||
[misc] Silence a small pile of warnings.
|
||||
[fix] Possible infinite loop in the import code.
|
||||
[fix] Fix memcache not being cleared when the folder/album name was changed.
|
||||
|
||||
[misc] Get rid of warning when running under php 4.3.x
|
||||
|
||||
2.37-rc2 (October 13, 2009)
|
||||
|
||||
[fix] ensure all input is escaped properly in the RSS feed generator.
|
||||
|
|
|
@ -959,7 +959,7 @@ function import_raw_decode($input_file_name, $decoder, $camera_input_profile, &$
|
|||
}
|
||||
|
||||
$res = FALSE;
|
||||
$decoders = split(",", $decoder);
|
||||
$decoders = explode(",", $decoder);
|
||||
foreach ($decoders as $decoder) {
|
||||
$decoder = trim($decoder);
|
||||
if ($decoder == "dcraw") {
|
||||
|
@ -1214,7 +1214,7 @@ function import_generate_all_scaled($input_file_name, $multi_page_parameter,
|
|||
|
||||
$po_options = $image_data['po_options'];
|
||||
|
||||
$sizes = split(",", $po_options['scaled_generate']);
|
||||
$sizes = explode(",", $po_options['scaled_generate']);
|
||||
|
||||
foreach ($sizes as $size_key) {
|
||||
$po_options = $image_data['po_options'];
|
||||
|
|
|
@ -206,7 +206,7 @@ if ($save_settings != "true") {
|
|||
case $settings_user_data['photo_upload']['idx']:
|
||||
if ($po_user['type'] >= PO_USER_TYPE_USER) {
|
||||
|
||||
$sizes = split(",", $po_options['scaled_generate']);
|
||||
$sizes = explode(",", $po_options['scaled_generate']);
|
||||
foreach ($sizes as $size_key) {
|
||||
if (isset($_REQUEST[$size_key.'_format'])) {
|
||||
$po_options[$size_key.'_format'] = $_REQUEST[$size_key.'_format'];
|
||||
|
@ -567,7 +567,7 @@ switch ($selector) {
|
|||
}
|
||||
print "</table>";
|
||||
|
||||
$sizes = split(",", $po_options['scaled_generate']);
|
||||
$sizes = explode(",", $po_options['scaled_generate']);
|
||||
foreach ($sizes as $size_key) {
|
||||
print "<table class=\"listing\">\n";
|
||||
print "<tr class=\"folder_top\">";
|
||||
|
|
Loading…
Reference in New Issue