Permalink
Browse files

ID no longer needs to be specified in the allcomments page, it defaul…

…ts to currently logged in user
  • Loading branch information...
1 parent 91b8d2e commit b42a1e5c5eddca2bafcb2698c174f7f7255d35d5 d0p committed Mar 4, 2012
Showing with 11 additions and 0 deletions.
  1. +5 −0 application/controllers/userprofile.php
  2. +6 −0 application/logs/log-2012-03-04.php
@@ -124,6 +124,11 @@ public function _show_com_form()
public function allcomments()
{
+ if(empty($this->id))
+ {
+ $this->id = $this->session->userdata('id');
+ }
+
$this->load->helper('form');
$this->load->library('pagination');
@@ -47,3 +47,9 @@
ERROR - 2012-03-04 00:14:10 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /home/d0p/www/community/application/controllers/images.php:23) /home/d0p/www/community/application/controllers/images.php 24
ERROR - 2012-03-04 00:14:10 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /home/d0p/www/community/application/controllers/images.php:23) /home/d0p/www/community/application/controllers/images.php 24
ERROR - 2012-03-04 00:14:10 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /home/d0p/www/community/application/controllers/images.php:23) /home/d0p/www/community/application/controllers/images.php 24
+ERROR - 2012-03-04 00:19:00 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /home/d0p/www/community/application/controllers/images.php:23) /home/d0p/www/community/application/controllers/images.php 24
+ERROR - 2012-03-04 00:19:01 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /home/d0p/www/community/application/controllers/images.php:23) /home/d0p/www/community/application/controllers/images.php 24
+ERROR - 2012-03-04 00:21:06 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /home/d0p/www/community/application/controllers/images.php:23) /home/d0p/www/community/application/controllers/images.php 24
+ERROR - 2012-03-04 00:21:07 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /home/d0p/www/community/application/controllers/images.php:23) /home/d0p/www/community/application/controllers/images.php 24
+ERROR - 2012-03-04 00:21:23 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /home/d0p/www/community/application/controllers/images.php:23) /home/d0p/www/community/application/controllers/images.php 24
+ERROR - 2012-03-04 00:21:23 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /home/d0p/www/community/application/controllers/images.php:23) /home/d0p/www/community/application/controllers/images.php 24

0 comments on commit b42a1e5

Please sign in to comment.