|
Revision 1539, 352 bytes
(checked in by renato, 1 year ago)
|
Setting prop svn:eol-style in LOTS of files.
|
- Property svn:mime-type set to
text/plain
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
global $USER; |
|---|
| 3 |
|
|---|
| 4 |
if (substr_count($parameter, "group") > 0 && logged_on) { |
|---|
| 5 |
$groupnum = (int) substr($parameter, 5, 15); |
|---|
| 6 |
$run_result = record_exists('group_membership','user_id',$USER->ident,'group_id',$groupnum); |
|---|
| 7 |
if (empty($run_result)) { |
|---|
| 8 |
$run_result = record_exists('groups','ident',$groupnum,'owner',$USER->ident); |
|---|
| 9 |
} |
|---|
| 10 |
} |
|---|
| 11 |
|
|---|
| 12 |
?> |
|---|