noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 153/219: HtmlInput: fix small bug in fct imag


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 153/219: HtmlInput: fix small bug in fct image_click
Date: Mon, 18 Dec 2017 13:22:55 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 9b52096914696f5840a11e534051858f446bca03
Author: Dany De Bontridder <address@hidden>
Date:   Thu Nov 16 21:03:35 2017 +0100

    HtmlInput: fix small bug in fct image_click
---
 include/lib/html_input.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/lib/html_input.class.php b/include/lib/html_input.class.php
index 1c748cb..398f8cb 100755
--- a/include/lib/html_input.class.php
+++ b/include/lib/html_input.class.php
@@ -535,7 +535,7 @@ class HtmlInput
      * @param string $p_js javascript when the image is clicked
      * @param string $p_message Message 
      */
-    static  function image_click($p_image,$p_js,$p_message,$p_class)
+    static  function image_click($p_image,$p_js,$p_message,$p_class="")
     {
         $ret=sprintf('<a class="nav %s" style="display:inline" title="%s"><img 
src="image/%s" onclick="%s"></a>',
                 $p_class,



reply via email to

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