]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Improving lvlmal.php
authorJean-Marc Pigeon <jmp@safe.c>
Mon, 24 Nov 2025 19:17:49 +0000 (14:17 -0500)
committerJean-Marc Pigeon <jmp@safe.c>
Mon, 24 Nov 2025 19:17:49 +0000 (14:17 -0500)
www/lvlmai.php

index e0a1b5a1f2d10b4ae7e84b583dde160eb9eb6dd2..2192aa0d89101333dcc2ae593f2a4345184be651 100644 (file)
@@ -35,9 +35,9 @@ if (isset($_POST['offset']))
 $rqst=NEW probe("actions",$limit,$offset);
 if (isset($_POST['username'])) {
   $username=trim(($_POST['username']));
-  $rqst->where("username","like","%$username%");
+  $rqst->where("smtpfrom","like","%$username%");
   }
-$actions=$rqst->order("username asc")
+$actions=$rqst->order("smtpfrom asc")
               ->limit($limit)
               ->GET();
 $line="";