librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1489] Error-reporting when mandatory scrobble-POST-va


From: Jørgen Bøhnsdalen
Subject: [Librefm-commits] [1489] Error-reporting when mandatory scrobble-POST-vars are empty
Date: Mon, 11 May 2009 21:11:40 +0000

Revision: 1489
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1489
Author:   jurgbohn
Date:     2009-05-11 21:11:40 +0000 (Mon, 11 May 2009)
Log Message:
-----------
Error-reporting when mandatory scrobble-POST-vars are empty

Modified Paths:
--------------
    trunk/gnukebox/submissions/1.2/index.php

Modified: trunk/gnukebox/submissions/1.2/index.php
===================================================================
--- trunk/gnukebox/submissions/1.2/index.php    2009-05-11 20:54:32 UTC (rev 
1488)
+++ trunk/gnukebox/submissions/1.2/index.php    2009-05-11 21:11:40 UTC (rev 
1489)
@@ -22,6 +22,7 @@
 require_once('../../scrobble-utils.php');
 
 if(!isset($_POST['s']) || !isset($_POST['a']) || !isset($_POST['t']) || 
!isset($_POST['i'])) {
+       reportError($_POST['u'] . ' POST FAILED', var_dump($_POST));
        die("Failed Required POST parameters are not set\r\n");
 }
 if(empty($_POST['s']) || empty($_POST['a']) || empty($_POST['t']) || 
empty($_POST['i'])) {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]