Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ddc3bbb1

Von Philip Reetz vor fast 18 Jahren hinzugefügt

  • ID ddc3bbb167d3010b0058efa8f90936d15be76c2e
  • Vorgänger 99308d4c
  • Nachfolger a14a3ff5

Fehler bei Lieferadressen die Anfuehrungszeichen im Namen enthalten

Unterschiede anzeigen:

bin/mozilla/is.pl
369 369

  
370 370
    }
371 371
  } else {
372
    $form->{selectshipto} = $form->unquote($form->{selectshipto});
372 373
    $form->{selectshipto} =~ s/ selected//g;
373 374
    if ($form->{shipto_id} ne "") {
374 375
      $form->{selectshipto} =~ s/value=$form->{shipto_id}/value=$form->{shipto_id} selected/;
......
377 378

  
378 379
  $shipto = qq|
379 380
		<th align=right>| . $locale->text('Shipping Address') . qq|</th>
380
		<td><select name=shipto_id style="width:200px;">$form->{selectshipto}</select></td>
381
		<input type=hidden name=selectshipto value="$form->{selectshipto}">|;
381
		<td><select name=shipto_id style="width:200px;">$form->{selectshipto}</select></td>|;
382
  $form->{selectshipto} = $form->quote($form->{selectshipto});
383
  $shipto .= qq| <input type=hidden name=selectshipto value="$form->{selectshipto}">|;
382 384

  
383 385

  
384 386

  
......
1080 1082

  
1081 1083
  if ($form->{id}) {
1082 1084
    print qq|
1083
    <input class=submit type=submit name=action value="|
1085
    <input class=submit type=submit accesskey="u" name=action value="|
1084 1086
      . $locale->text('Update') . qq|">
1085 1087
    <input class=submit type=submit name=action value="|
1086 1088
      . $locale->text('Ship to') . qq|">
bin/mozilla/oe.pl
432 432
          "<option value=$item->{shipto_id} selected>$item->{shiptoname} $item->{shiptodepartment_1}</option>";
433 433
      } else {
434 434
        $form->{selectshipto} .=
435
          "<option value=$item->{shipto_id}>$item->{shiptoname} $item->{shiptodepartment_1}</option>";
435
          "<option value=$item->{shipto_id}>$item->{shiptoname} $item->{shiptodepartment}</option>";
436 436
      }
437 437

  
438 438
    }
439 439
  } else {
440
    $form->{selectshipto} = $form->unquote($form->{selectshipto});
440 441
    $form->{selectshipto} =~ s/ selected//g;
441 442
    if ($form->{shipto_id} ne "") {
442 443
      $form->{selectshipto} =~ s/value=$form->{shipto_id}/value=$form->{shipto_id} selected/;
......
445 446

  
446 447
  $shipto = qq|
447 448
		<th align=right>| . $locale->text('Shipping Address') . qq|</th>
448
		<td><select name=shipto_id>$form->{selectshipto}</select></td>
449
		<input type=hidden name=selectshipto value="$form->{selectshipto}">|;
450

  
449
		<td><select name=shipto_id style="width:200px;">$form->{selectshipto}</select></td>|;
450
  $form->{selectshipto} = $form->quote($form->{selectshipto});
451
  $shipto .= qq| <input type=hidden name=selectshipto value="$form->{selectshipto}">|;
451 452

  
452 453

  
453 454

  

Auch abrufbar als: Unified diff