@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | $er->resendActivationCodes(); |
| 53 | 53 | break; |
| 54 | 54 | default: |
| 55 | - die('invalid option: '. $option . "\n"); |
|
| 55 | + die('invalid option: ' . $option . "\n"); |
|
| 56 | 56 | } |
| 57 | 57 | } |
| 58 | 58 | |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | while ($r = sql_fetch_assoc($rs)) { |
| 298 | 298 | $user = new user($r['user_id']); |
| 299 | 299 | $user->sendRegistrationCode(); |
| 300 | - ++ $n; |
|
| 300 | + ++$n; |
|
| 301 | 301 | } |
| 302 | 302 | sql_free_result($rs); |
| 303 | 303 | self::message(0, $n . ' users have been re-sent the activation code'); |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | $year = substr($cache['date_created'], 0, 4); |
| 27 | 27 | if ($year >= 2005 && $year <= date("Y") && ($lat != 0 || $long != 0)) { |
| 28 | 28 | $years[$year] = true; |
| 29 | - $liste[$lat][$long]["caches"][$year] ++; |
|
| 29 | + $liste[$lat][$long]["caches"][$year]++; |
|
| 30 | 30 | } |
| 31 | 31 | } |
| 32 | 32 | mysql_free_result($rs); |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | $year = substr($cache["date"], 0, 4); |
| 51 | 51 | if ($year >= 2005 && $year <= date("Y") && ($lat != 0 || $long != 0)) { |
| 52 | 52 | $years[$year] = true; |
| 53 | - $liste[$lat][$long]["logs"][$year] ++; |
|
| 53 | + $liste[$lat][$long]["logs"][$year]++; |
|
| 54 | 54 | } |
| 55 | 55 | } |
| 56 | 56 | mysql_free_result($rs); |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | while ($cache = sql_fetch_assoc($rs)) { |
| 68 | 68 | $lat = floor($cache["latitude"] / $grid); |
| 69 | 69 | $long = floor($cache["longitude"] / $grid); |
| 70 | - $liste[$lat][$long]["caches"]["all"] ++; |
|
| 70 | + $liste[$lat][$long]["caches"]["all"]++; |
|
| 71 | 71 | $liste[$lat][$long]["logs"]["all"] += $cache["logs"]; |
| 72 | 72 | } |
| 73 | 73 | mysql_free_result($rs); |
@@ -16,14 +16,14 @@ |
||
| 16 | 16 | |
| 17 | 17 | public function push_pos(&$pos) |
| 18 | 18 | { |
| 19 | - $this->stack[count($this->stack)] =& $pos; |
|
| 20 | - $this->stack_ref =& $pos; |
|
| 19 | + $this->stack[count($this->stack)] = & $pos; |
|
| 20 | + $this->stack_ref = & $pos; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | public function pop_pos() |
| 24 | 24 | { |
| 25 | 25 | unset($this->stack[count($this->stack) - 1]); |
| 26 | - $this->stack_ref =& $this->stack[count($this->stack) - 1]; |
|
| 26 | + $this->stack_ref = & $this->stack[count($this->stack) - 1]; |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | public function parse($strInputXML) |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | // Sessions verwenden? |
| 29 | 29 | $opt['session'] = 1; |
| 30 | -$opt['zip'] = 'gzip'; // 0; zip; bzip2; gzip |
|
| 30 | +$opt['zip'] = 'gzip'; // 0; zip; bzip2; gzip |
|
| 31 | 31 | |
| 32 | 32 | // Gebietsauswahl nach Land |
| 33 | 33 | $opt['bycountry'] = 0; |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | $nFileNr = 0; |
| 68 | 68 | $rs = sql('SELECT `id`, `url` FROM `pictures` WHERE `local`=0'); |
| 69 | 69 | while ($r = sql_fetch_array($rs)) { |
| 70 | - $nFileNr ++; |
|
| 70 | + $nFileNr++; |
|
| 71 | 71 | $fileparts = mb_split('/', $r['url']); |
| 72 | 72 | $filename = $fileparts[count($fileparts) - 1]; |
| 73 | 73 | |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | exit; |
| 238 | 238 | } |
| 239 | 239 | |
| 240 | - for ($i = 1; $i <= $filescount; $i ++) { |
|
| 240 | + for ($i = 1; $i <= $filescount; $i++) { |
|
| 241 | 241 | echo "Download Paket: " . $i . ' von ' . $filescount . "\n"; |
| 242 | 242 | |
| 243 | 243 | $fileurl = $opt['url_getsession']; |
@@ -411,11 +411,11 @@ discard block |
||
| 411 | 411 | if ($sSubElement != '') { |
| 412 | 412 | // vorheriges element zuerst schlißen |
| 413 | 413 | $sSubElement = ''; |
| 414 | - $nRecursionLevel --; |
|
| 414 | + $nRecursionLevel--; |
|
| 415 | 415 | } |
| 416 | 416 | |
| 417 | 417 | $sSubElement = mb_strtoupper($xmlReader->name); |
| 418 | - $nRecursionLevel ++; |
|
| 418 | + $nRecursionLevel++; |
|
| 419 | 419 | |
| 420 | 420 | // attribute auslesen |
| 421 | 421 | if ($xmlReader->moveToFirstAttribute()) { |
@@ -432,7 +432,7 @@ discard block |
||
| 432 | 432 | } else { |
| 433 | 433 | if ($xmlReader->nodeType == XMLReader::END_ELEMENT) { |
| 434 | 434 | $sSubElement = ''; |
| 435 | - $nRecursionLevel --; |
|
| 435 | + $nRecursionLevel--; |
|
| 436 | 436 | } |
| 437 | 437 | } |
| 438 | 438 | } |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | |
| 19 | 19 | // database names |
| 20 | 20 | $dbname = 'opencaching'; |
| 21 | -$tmpdbname = 'octmp'; // empty db with CREATE and DROP privileges |
|
| 21 | +$tmpdbname = 'octmp'; // empty db with CREATE and DROP privileges |
|
| 22 | 22 | |
| 23 | 23 | // common developer system settings |
| 24 | 24 | require 'settings-dev.inc.php'; |
@@ -175,7 +175,7 @@ |
||
| 175 | 175 | } |
| 176 | 176 | $nLastGroup = $tpl_usercountries[$i]['group']; |
| 177 | 177 | |
| 178 | - echo '<option value="' . htmlspecialchars($tpl_usercountries[$i]['country'], ENT_COMPAT, 'UTF-8') . '"' . (($sUserCountry==$tpl_usercountries[$i]['country']) ? ' selected="selected"' : '') . '>' . htmlspecialchars($tpl_usercountries[$i]['name'], ENT_COMPAT, 'UTF-8') . '</option>'; |
|
| 178 | + echo '<option value="' . htmlspecialchars($tpl_usercountries[$i]['country'], ENT_COMPAT, 'UTF-8') . '"' . (($sUserCountry == $tpl_usercountries[$i]['country']) ? ' selected="selected"' : '') . '>' . htmlspecialchars($tpl_usercountries[$i]['name'], ENT_COMPAT, 'UTF-8') . '</option>'; |
|
| 179 | 179 | } |
| 180 | 180 | ?> |
| 181 | 181 | </select> |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | require_once $stylepath . '/' . $tplname . '.inc.php'; |
| 37 | 37 | |
| 38 | 38 | //set template replacements |
| 39 | - tpl_set_var('reset', $reset); // obsolete |
|
| 39 | + tpl_set_var('reset', $reset); // obsolete |
|
| 40 | 40 | tpl_set_var('submit', $submit); |
| 41 | 41 | tpl_set_var('general_message', ''); |
| 42 | 42 | tpl_set_var('hidden_since_message', ''); |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | tpl_set_var('diff_message', ''); |
| 54 | 54 | tpl_set_var('safari_message', ''); |
| 55 | 55 | |
| 56 | - $sel_type = isset($_POST['type']) ? $_POST['type'] : 0; // Ocprop |
|
| 56 | + $sel_type = isset($_POST['type']) ? $_POST['type'] : 0; // Ocprop |
|
| 57 | 57 | if (!isset($_POST['size'])) { |
| 58 | 58 | if ($sel_type == 4 || $sel_type == 5) { |
| 59 | 59 | $sel_size = 7; |
@@ -61,15 +61,15 @@ discard block |
||
| 61 | 61 | $sel_size = - 1; |
| 62 | 62 | } |
| 63 | 63 | } else { |
| 64 | - $sel_size = isset($_POST['size']) ? $_POST['size'] : - 1; // Ocprop |
|
| 64 | + $sel_size = isset($_POST['size']) ? $_POST['size'] : - 1; // Ocprop |
|
| 65 | 65 | } |
| 66 | 66 | $sel_lang = isset($_POST['desc_lang']) ? $_POST['desc_lang'] : $default_lang; |
| 67 | - $sel_country = isset($_POST['country']) ? $_POST['country'] : getUserCountry(); // Ocprop |
|
| 67 | + $sel_country = isset($_POST['country']) ? $_POST['country'] : getUserCountry(); // Ocprop |
|
| 68 | 68 | $show_all_countries = isset($_POST['show_all_countries']) ? $_POST['show_all_countries'] : 0; |
| 69 | 69 | $show_all_langs = isset($_POST['show_all_langs']) ? $_POST['show_all_langs'] : 0; |
| 70 | 70 | |
| 71 | 71 | //coords |
| 72 | - $lonEW = isset($_POST['lonEW']) ? $_POST['lonEW'] : $default_EW; // Ocprop |
|
| 72 | + $lonEW = isset($_POST['lonEW']) ? $_POST['lonEW'] : $default_EW; // Ocprop |
|
| 73 | 73 | if ($lonEW == 'E') { |
| 74 | 74 | tpl_set_var('lonEsel', ' selected="selected"'); |
| 75 | 75 | tpl_set_var('lonWsel', ''); |
@@ -77,13 +77,13 @@ discard block |
||
| 77 | 77 | tpl_set_var('lonEsel', ''); |
| 78 | 78 | tpl_set_var('lonWsel', ' selected="selected"'); |
| 79 | 79 | } |
| 80 | - $lon_h = isset($_POST['lon_h']) ? $_POST['lon_h'] : '0'; // Ocprop |
|
| 80 | + $lon_h = isset($_POST['lon_h']) ? $_POST['lon_h'] : '0'; // Ocprop |
|
| 81 | 81 | tpl_set_var('lon_h', htmlspecialchars($lon_h, ENT_COMPAT, 'UTF-8')); |
| 82 | 82 | |
| 83 | - $lon_min = isset($_POST['lon_min']) ? $_POST['lon_min'] : '00.000'; // Ocprop |
|
| 83 | + $lon_min = isset($_POST['lon_min']) ? $_POST['lon_min'] : '00.000'; // Ocprop |
|
| 84 | 84 | tpl_set_var('lon_min', htmlspecialchars($lon_min, ENT_COMPAT, 'UTF-8')); |
| 85 | 85 | |
| 86 | - $latNS = isset($_POST['latNS']) ? $_POST['latNS'] : $default_NS; // Ocprop |
|
| 86 | + $latNS = isset($_POST['latNS']) ? $_POST['latNS'] : $default_NS; // Ocprop |
|
| 87 | 87 | if ($latNS == 'N') { |
| 88 | 88 | tpl_set_var('latNsel', ' selected="selected"'); |
| 89 | 89 | tpl_set_var('latSsel', ''); |
@@ -91,14 +91,14 @@ discard block |
||
| 91 | 91 | tpl_set_var('latNsel', ''); |
| 92 | 92 | tpl_set_var('latSsel', ' selected="selected"'); |
| 93 | 93 | } |
| 94 | - $lat_h = isset($_POST['lat_h']) ? $_POST['lat_h'] : '0'; // Ocprop |
|
| 94 | + $lat_h = isset($_POST['lat_h']) ? $_POST['lat_h'] : '0'; // Ocprop |
|
| 95 | 95 | tpl_set_var('lat_h', htmlspecialchars($lat_h, ENT_COMPAT, 'UTF-8')); |
| 96 | 96 | |
| 97 | - $lat_min = isset($_POST['lat_min']) ? $_POST['lat_min'] : '00.000'; // Ocprop |
|
| 97 | + $lat_min = isset($_POST['lat_min']) ? $_POST['lat_min'] : '00.000'; // Ocprop |
|
| 98 | 98 | tpl_set_var('lat_min', htmlspecialchars($lat_min, ENT_COMPAT, 'UTF-8')); |
| 99 | 99 | |
| 100 | 100 | //name |
| 101 | - $name = isset($_POST['name']) ? trim($_POST['name']) : ''; // Ocprop |
|
| 101 | + $name = isset($_POST['name']) ? trim($_POST['name']) : ''; // Ocprop |
|
| 102 | 102 | tpl_set_var('name', htmlspecialchars($name, ENT_COMPAT, 'UTF-8')); |
| 103 | 103 | |
| 104 | 104 | //shortdesc |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | |
| 131 | 131 | // fuer alte Versionen von OCProp |
| 132 | 132 | if (isset($_POST['submit']) && !isset($_POST['version2'])) { |
| 133 | - $descMode = (isset($_POST['desc_html']) && ($_POST['desc_html'] == 1)) ? 2 : 1; // Ocprop |
|
| 133 | + $descMode = (isset($_POST['desc_html']) && ($_POST['desc_html'] == 1)) ? 2 : 1; // Ocprop |
|
| 134 | 134 | $_POST['submitform'] = $_POST['submit']; |
| 135 | 135 | |
| 136 | 136 | $short_desc = iconv("ISO-8859-1", "UTF-8", $short_desc); |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | //tos |
| 199 | - $tos = isset($_POST['TOS']) ? 1 : 0; // Ocprop |
|
| 199 | + $tos = isset($_POST['TOS']) ? 1 : 0; // Ocprop |
|
| 200 | 200 | if ($tos == 1) { |
| 201 | 201 | tpl_set_var('toschecked', ' checked="checked"'); |
| 202 | 202 | } else { |
@@ -204,9 +204,9 @@ discard block |
||
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | //hidden_since |
| 207 | - $hidden_day = isset($_POST['hidden_day']) ? $_POST['hidden_day'] : date('d'); // Ocprop |
|
| 208 | - $hidden_month = isset($_POST['hidden_month']) ? $_POST['hidden_month'] : date('m'); // Ocprop |
|
| 209 | - $hidden_year = isset($_POST['hidden_year']) ? $_POST['hidden_year'] : date('Y'); // Ocprop |
|
| 207 | + $hidden_day = isset($_POST['hidden_day']) ? $_POST['hidden_day'] : date('d'); // Ocprop |
|
| 208 | + $hidden_month = isset($_POST['hidden_month']) ? $_POST['hidden_month'] : date('m'); // Ocprop |
|
| 209 | + $hidden_year = isset($_POST['hidden_year']) ? $_POST['hidden_year'] : date('Y'); // Ocprop |
|
| 210 | 210 | tpl_set_var('hidden_day', htmlspecialchars($hidden_day, ENT_COMPAT, 'UTF-8')); |
| 211 | 211 | tpl_set_var('hidden_month', htmlspecialchars($hidden_month, ENT_COMPAT, 'UTF-8')); |
| 212 | 212 | tpl_set_var('hidden_year', htmlspecialchars($hidden_year, ENT_COMPAT, 'UTF-8')); |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | tpl_set_var('publish_later_checked', ''); |
| 224 | 224 | tpl_set_var('publish_notnow_checked', ''); |
| 225 | 225 | |
| 226 | - $publish = isset($_POST['publish']) ? $_POST['publish'] : 'now2'; // Ocprop |
|
| 226 | + $publish = isset($_POST['publish']) ? $_POST['publish'] : 'now2'; // Ocprop |
|
| 227 | 227 | if ($publish == 'now2') { |
| 228 | 228 | tpl_set_var('publish_now_checked', 'checked'); |
| 229 | 229 | } elseif ($publish == 'later') { |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | // fill activate hours |
| 238 | 238 | $activate_hour = isset($_POST['activate_hour']) ? $_POST['activate_hour'] + 0 : date('H') + 0; |
| 239 | 239 | $activation_hours = ''; |
| 240 | - for ($i = 0; $i <= 23; $i ++) { |
|
| 240 | + for ($i = 0; $i <= 23; $i++) { |
|
| 241 | 241 | if ($activate_hour == $i) { |
| 242 | 242 | $activation_hours .= '<option value="' . $i . '" selected="selected">' . $i . '</option>'; |
| 243 | 243 | } else { |
@@ -253,13 +253,13 @@ discard block |
||
| 253 | 253 | |
| 254 | 254 | // gc- and nc-waypoints |
| 255 | 255 | // fix #4356: gc waypoints are frequently copy&pasted with leading spaces |
| 256 | - $wp_gc = isset($_POST['wp_gc']) ? strtoupper(trim($_POST['wp_gc'])) : ''; // Ocprop |
|
| 256 | + $wp_gc = isset($_POST['wp_gc']) ? strtoupper(trim($_POST['wp_gc'])) : ''; // Ocprop |
|
| 257 | 257 | tpl_set_var('wp_gc', htmlspecialchars($wp_gc, ENT_COMPAT, 'UTF-8')); |
| 258 | 258 | |
| 259 | 259 | //difficulty |
| 260 | - $difficulty = isset($_POST['difficulty']) ? $_POST['difficulty'] : 1; // Ocprop |
|
| 260 | + $difficulty = isset($_POST['difficulty']) ? $_POST['difficulty'] : 1; // Ocprop |
|
| 261 | 261 | $difficulty_options = '<option value="1">' . $sel_message . '</option>'; |
| 262 | - for ($i = 2; $i <= 10; $i ++) { |
|
| 262 | + for ($i = 2; $i <= 10; $i++) { |
|
| 263 | 263 | if ($difficulty == $i) { |
| 264 | 264 | $difficulty_options .= '<option value="' . $i . '" selected="selected">' . $i / 2 . '</option>'; |
| 265 | 265 | } else { |
@@ -270,9 +270,9 @@ discard block |
||
| 270 | 270 | tpl_set_var('difficulty_options', $difficulty_options); |
| 271 | 271 | |
| 272 | 272 | //terrain |
| 273 | - $terrain = isset($_POST['terrain']) ? $_POST['terrain'] : 1; // Ocprop |
|
| 273 | + $terrain = isset($_POST['terrain']) ? $_POST['terrain'] : 1; // Ocprop |
|
| 274 | 274 | $terrain_options = '<option value="1">' . $sel_message . '</option>'; |
| 275 | - for ($i = 2; $i <= 10; $i ++) { |
|
| 275 | + for ($i = 2; $i <= 10; $i++) { |
|
| 276 | 276 | if ($terrain == $i) { |
| 277 | 277 | $terrain_options .= '<option value="' . $i . '" selected="selected">' . $i / 2 . '</option>'; |
| 278 | 278 | } else { |
@@ -508,7 +508,7 @@ discard block |
||
| 508 | 508 | $line = mb_ereg_replace('{name}', escape_javascript($record['name']), $line); |
| 509 | 509 | $line = mb_ereg_replace('{color}', $rAttrGroup['color'], $line); |
| 510 | 510 | $group_line .= $line; |
| 511 | - $nLineAttrCount ++; |
|
| 511 | + $nLineAttrCount++; |
|
| 512 | 512 | |
| 513 | 513 | $line = $cache_attrib_js; |
| 514 | 514 | $line = mb_ereg_replace('{id}', $record['id'], $line); |
@@ -903,7 +903,7 @@ discard block |
||
| 903 | 903 | ); |
| 904 | 904 | |
| 905 | 905 | // insert cache-attributes |
| 906 | - for ($i = 0; $i < count($cache_attribs); $i ++) { |
|
| 906 | + for ($i = 0; $i < count($cache_attribs); $i++) { |
|
| 907 | 907 | if (($cache_attribs[$i] + 0) > 0) { |
| 908 | 908 | sql( |
| 909 | 909 | "INSERT INTO `caches_attributes` (`cache_id`, `attrib_id`) VALUES ('&1', '&2')", |
@@ -367,7 +367,7 @@ discard block |
||
| 367 | 367 | $rs = sql("SELECT * FROM `caches` WHERE `cache_id` IN " . $cachelist); |
| 368 | 368 | while ($r = sql_fetch_assoc($rs)) { |
| 369 | 369 | $nextcd[$r['wp_oc']] = $r; |
| 370 | - $user_id = $r['user_id']; // is used later for logs |
|
| 370 | + $user_id = $r['user_id']; // is used later for logs |
|
| 371 | 371 | } |
| 372 | 372 | sql_free_result($rs); |
| 373 | 373 | |
@@ -467,7 +467,7 @@ discard block |
||
| 467 | 467 | "SELECT * FROM `caches_attributes_modified` |
| 468 | 468 | WHERE `cache_id` IN " . $cachelist . " /* OConly attrib is shown, but not restorable */ |
| 469 | 469 | ORDER BY `date_modified` ASC" |
| 470 | - ); // order doesn't matter as long it is date only |
|
| 470 | + ); // order doesn't matter as long it is date only |
|
| 471 | 471 | while ($r = sql_fetch_assoc($rs)) { |
| 472 | 472 | append_data( |
| 473 | 473 | $data, |
@@ -623,7 +623,7 @@ discard block |
||
| 623 | 623 | "SELECT *, " . $piccacheid . "AS `cache_id` FROM `pictures_modified` |
| 624 | 624 | WHERE " . $piccacheid . " IN " . $cachelist . " |
| 625 | 625 | ORDER BY `date_modified` ASC" |
| 626 | - ); // order is relevant for the case of restore-reverts |
|
| 626 | + ); // order is relevant for the case of restore-reverts |
|
| 627 | 627 | while ($r = sql_fetch_assoc($rs)) { |
| 628 | 628 | $r['date_modified'] = substr($r['date_modified'], 0, 10); |
| 629 | 629 | switch ($r['operation']) { |
@@ -727,7 +727,7 @@ discard block |
||
| 727 | 727 | { |
| 728 | 728 | global $opt, $login; |
| 729 | 729 | |
| 730 | - sql("SET @restoredby='&1'", $login->userid); // is evaluated by trigger functions |
|
| 730 | + sql("SET @restoredby='&1'", $login->userid); // is evaluated by trigger functions |
|
| 731 | 731 | sql_slave("SET @restoredby='&1'", $login->userid); |
| 732 | 732 | |
| 733 | 733 | $restored = array(); |
@@ -1019,7 +1019,7 @@ discard block |
||
| 1019 | 1019 | // id, uuid, date_created and last_modified are set automatically; |
| 1020 | 1020 | // picture will be updated automatically on picture-restore |
| 1021 | 1021 | $log = new cachelog(); |
| 1022 | - $log->setNode($r['node']); // cachelog class currently does not initialize node field |
|
| 1022 | + $log->setNode($r['node']); // cachelog class currently does not initialize node field |
|
| 1023 | 1023 | $log->setCacheId($r['cache_id']); |
| 1024 | 1024 | $log->setUserId($r['user_id']); |
| 1025 | 1025 | $log->setType($r['type'], true); |
@@ -1071,7 +1071,7 @@ discard block |
||
| 1071 | 1071 | } // not already processed |
| 1072 | 1072 | |
| 1073 | 1073 | if ($error != "") { |
| 1074 | - $restored[$wp]['internal error - could not $error log ' + $r['id'] + "/" + $logid]; |
|
| 1074 | + $restored[$wp]['internal error - could not $error log ' +$r['id'] + "/" +$logid]; |
|
| 1075 | 1075 | } |
| 1076 | 1076 | if ($logs_restored) { |
| 1077 | 1077 | $restored[$wp]['logs'] = true; |
@@ -1203,7 +1203,7 @@ discard block |
||
| 1203 | 1203 | } // not already processed |
| 1204 | 1204 | |
| 1205 | 1205 | if ($error != "") { |
| 1206 | - $restored[$wp]['internal error - could not $error picture ' . $r['id'] + "/" + $picid] = true; |
|
| 1206 | + $restored[$wp]['internal error - could not $error picture ' . $r['id'] + "/" +$picid] = true; |
|
| 1207 | 1207 | } |
| 1208 | 1208 | if ($pics_restored) { |
| 1209 | 1209 | $restored[$wp]['pictures'] = true; |