vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17418: Fixed using func with unknown namespace....

Committer: vad
Fixed using func with unknown namespace.
U   trunk/cgi-bin/LJ/Setting.pm
Modified: trunk/cgi-bin/LJ/Setting.pm
===================================================================
--- trunk/cgi-bin/LJ/Setting.pm	2010-09-20 16:05:53 UTC (rev 17417)
+++ trunk/cgi-bin/LJ/Setting.pm	2010-09-20 16:23:43 UTC (rev 17418)
@@ -164,7 +164,8 @@
                 $class->save($u, $post_args);
             };
             if (my $err = $@) {
-                warn LJ::D($err) . " ";
+                require Data::Dumper;
+                warn "Settings error: " . Data::Dumper::Dumper($err) . " ";
                 $save_errors = $err->field('map') if ref $err;
             }
         }

Tags: livejournal, pm, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments