Revision 1dd07051
Added by Jim Pingle about 9 years ago
src/etc/inc/radius.inc | ||
---|---|---|
480 | 480 |
break; |
481 | 481 |
|
482 | 482 |
case RADIUS_CLASS: |
483 |
$this->attributes['class'] = radius_cvt_string($data); |
|
483 |
if (!array($this->attributes['class'])) { |
|
484 |
$this->attributes['class'] = array(); |
|
485 |
} |
|
486 |
$this->attributes['class'][] = radius_cvt_string($data); |
|
484 | 487 |
break; |
485 | 488 |
|
486 | 489 |
case RADIUS_FRAMED_PROTOCOL: |
Also available in: Unified diff
Respect all Class attributes returned by the RADIUS server, not only the last one received. Fixes #6086