Commit cd176a7
committed
Fixed Community Issue - Error when Zero CIM profiles
Issue: #45
Reproduced the issue by creating a sandbox account with zero customer profiles.
Error for getCustomerProfileIds() :
Notice: Undefined index: numericString in C:\..local_path...\authorizenet\authorizenet\lib\AuthorizeNetCIM.php on line 491
Fixed the issue by adding a check for empty array.1 parent 8133aee commit cd176a7
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
492 | 495 | | |
493 | 496 | | |
494 | 497 | | |
| |||
497 | 500 | | |
498 | 501 | | |
499 | 502 | | |
500 | | - | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
501 | 507 | | |
502 | 508 | | |
503 | 509 | | |
| |||
506 | 512 | | |
507 | 513 | | |
508 | 514 | | |
509 | | - | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
510 | 519 | | |
511 | 520 | | |
512 | 521 | | |
| |||
0 commit comments