-switch ($row['bStatus']) {
- case 0 :
- $accessPublic = ' selected="selected"';
- break;
- case 1 :
- $accessShared = ' selected="selected"';
- break;
- case 2 :
- $accessPrivate = ' selected="selected"';
- break;
+
+if (isset($row['bStatus'])) {
+ switch ($row['bStatus']) {
+ case 0 :
+ $accessPublic = ' selected="selected"';
+ break;
+ case 1 :
+ $accessShared = ' selected="selected"';
+ break;
+ case 2 :
+ $accessPrivate = ' selected="selected"';
+ break;
+ }