Changeset 1604
- Timestamp:
- 06/09/08 08:04:42 (6 months ago)
- Files:
-
- devel/mod/commentwall/walltowall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/commentwall/walltowall.php
r1594 r1604 12 12 13 13 $owner = optional_param('owner', page_owner()); 14 14 15 15 $other = required_param('other'); 16 17 // swap user id's if 'other' is the current session 18 // this way, a logged-in user won't be prompted to write on their own wall in a wall-to-wall view 19 if ($other == $_SESSION['userid']) { 20 $other = $owner; 21 $owner = $_SESSION['userid']; 22 } 16 23 17 24 $offset = optional_param('offset', 0);
